diff --git a/src/api/qc/qc.js b/src/api/qc/qc.js index 569f7a6..0410a54 100644 --- a/src/api/qc/qc.js +++ b/src/api/qc/qc.js @@ -100,6 +100,7 @@ export const updatePatrolConfig = data => createAPI(`/pms/qc/updatePatrolConfig` export const deletePatrolConfig = data => createAPI(`/pms/qc/deletePatrolConfig`,'post',data) export const getAllOperationDescList = data => createAPI(`/pms/qc/getAllOperationDescList`,'post',data) export const patrolConfigUpload = data => createAPI(`/pms/qc/patrolConfigUpload`,'post',data) +export const qcSpecUpload = data => createAPI(`/pms/qc/qcSpecUpload`,'post',data) export const updateLabelTemplate = data => createAPI(`/pms/qc/updateLabelTemplate`,'post',data) // ===================================== FAI检验 ===================================== diff --git a/src/views/modules/qc/qcPartAttribute.vue b/src/views/modules/qc/qcPartAttribute.vue index 3eb9727..d218c38 100644 --- a/src/views/modules/qc/qcPartAttribute.vue +++ b/src/views/modules/qc/qcPartAttribute.vue @@ -734,6 +734,7 @@ 新增 + 导入 批量编辑 批量保存 @@ -1416,6 +1417,8 @@ + + @@ -1477,6 +1480,7 @@ import BomListComponent from "./bomListComponent" import RoutingListComponent from "./routingListComponent" import PatrolConfigUpload from "./patrol_config_upload" + import QcSpecUpload from "./qc_spec_upload" export default { components: { qcSOPUploadFile, @@ -1485,7 +1489,8 @@ SopListComponent, BomListComponent, RoutingListComponent, - PatrolConfigUpload + PatrolConfigUpload, + QcSpecUpload }, data () { return { @@ -2351,6 +2356,17 @@ methods: { // ================= 检验标准维护相关方法 ================= + qcSpecUploadModal() { + let currentData = { + site: this.partCurrentRow.site, + buNo: this.partCurrentRow.buNo, + partNo: this.partCurrentRow.partNo, + createBy: this.$store.state.user.name + } + this.$nextTick(() => { + this.$refs.qcSpecUpload.init(currentData) + }) + }, refreshQcSpecList() { if (!this.partCurrentRow || !this.partCurrentRow.partNo) return qcSpecSearch({ diff --git a/src/views/modules/qc/qc_spec_upload.vue b/src/views/modules/qc/qc_spec_upload.vue new file mode 100644 index 0000000..45ebcb8 --- /dev/null +++ b/src/views/modules/qc/qc_spec_upload.vue @@ -0,0 +1,153 @@ + + + + + \ No newline at end of file