diff --git a/src/api/Assembly/QualityInspectionInformationInquiry.js b/src/api/Assembly/QualityInspectionInformationInquiry.js index 26e0af73..c0ee14fc 100644 --- a/src/api/Assembly/QualityInspectionInformationInquiry.js +++ b/src/api/Assembly/QualityInspectionInformationInquiry.js @@ -147,7 +147,7 @@ export function submitTable(...param) { UserID: state.state.user.id, ModularID: router.currentRoute.path, type: '2', - name: '车间生产管理_质检管理_不合格处理', + name: '车间生产管理_质检管理_新增', param: `零部件流水号=${param[0]}&质检类型代码=${param[1]}&数量=${param[2]}&是否合格=${param[3]}&人员编号=${param[4]}&不合格数量=${param[5]}&不合格原因=${param[6]}&不合格处理=${param[7]}&备注=${param[8]}&操作工=${param[9]}&编辑人员编号=${param[10]}` } }) diff --git a/src/views/Assembly/QualityInspectionInformationInquiry/index.vue b/src/views/Assembly/QualityInspectionInformationInquiry/index.vue index a1788a16..c0a64188 100644 --- a/src/views/Assembly/QualityInspectionInformationInquiry/index.vue +++ b/src/views/Assembly/QualityInspectionInformationInquiry/index.vue @@ -796,6 +796,7 @@ export default { }, // 表内编辑确定 confirmEdit(row) { + console.log(this.$store.state.user.id, 787878) confirmEdit(row.质检流水号, row.质检类型代码, row.零部件流水号, row.是否合格, row.数量, row.不合格数量, row.不合格原因, row.处理结果, row.备注, this.$store.state.user.id).then(response => { if (response.data[0].result === '1') { this.$message.success('编辑成功') @@ -1055,6 +1056,7 @@ export default { this.$refs['form2'].validate((valid) => { if (valid) { this.AddTableData_disable = true + submitTable(this.form2.工序, this.form2.质检类型, this.form2.检测数, this.form2.质检情况, this.id, this.form2.不合格数量, this.form2.不合格原因, this.form2.不合格处理, this.form2.备注, this.form2.操作工, this.$store.state.user.id).then(response => { if (response.data[0].result === '1') { this.dialogFormVisible10 = false