Commit 0ef7673d authored by 张海景's avatar 张海景

update:修改质量的问题

parent c7ac9b9a
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
</u-row> </u-row>
<u-row> <u-row>
<u-col span="6"> <u-col span="6">
<u-form-item label="报工数量:" prop="quantityQualify"> <u-form-item label="合格数量:" prop="quantityQualify">
<u-number-box :min="0" @change="quantityChanged" v-model="feedback.quantityQualify"></u-number-box> <u-number-box :min="0" @change="quantityChanged" v-model="feedback.quantityQualify"></u-number-box>
</u-form-item> </u-form-item>
</u-col> </u-col>
......
...@@ -605,10 +605,10 @@ export default { ...@@ -605,10 +605,10 @@ export default {
}, },
async submitIpqc(status = 'PREPARE') { async submitIpqc(status = 'PREPARE') {
if (this.btnType === 'sjqrFinish') { // if (this.btnType === 'sjqrFinish') {
this.firstCONFIRMED(this.qcForm); // this.firstCONFIRMED(this.qcForm);
return; // return;
} // }
if (!this.taskInfo) { if (!this.taskInfo) {
this.$u.toast('请输入任务单号!'); this.$u.toast('请输入任务单号!');
return; return;
...@@ -628,7 +628,7 @@ export default { ...@@ -628,7 +628,7 @@ export default {
return { return {
...item, ...item,
selectValues, selectValues,
qualityCheckResults qualityCheckResults,
}; };
}); });
if (this.btnType === 'firstEdit') { if (this.btnType === 'firstEdit') {
...@@ -671,9 +671,12 @@ export default { ...@@ -671,9 +671,12 @@ export default {
workorderId: this.qcForm.workorderId, workorderId: this.qcForm.workorderId,
inspectDate: new Date(), inspectDate: new Date(),
inspector: this.qcForm.inspector, inspector: this.qcForm.inspector,
status: 'PREPARE', status: this.btnType === 'sjqrFinish'? 'CONFIRMED': 'PREPARE',
qcIpqclineList qcIpqclineList
}; };
if (this.btnType === 'sjqrFinish') {
delete param.ipqcType
}
const res = await this.$u.api.addIpqc(param); const res = await this.$u.api.addIpqc(param);
if (res.code === 200) { if (res.code === 200) {
this.getIpqcList(this.curQcType); this.getIpqcList(this.curQcType);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment