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

update:修改质量的问题

parent c7ac9b9a
......@@ -155,7 +155,7 @@
</u-row>
<u-row>
<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-form-item>
</u-col>
......
......@@ -605,10 +605,10 @@ export default {
},
async submitIpqc(status = 'PREPARE') {
if (this.btnType === 'sjqrFinish') {
this.firstCONFIRMED(this.qcForm);
return;
}
// if (this.btnType === 'sjqrFinish') {
// this.firstCONFIRMED(this.qcForm);
// return;
// }
if (!this.taskInfo) {
this.$u.toast('请输入任务单号!');
return;
......@@ -628,7 +628,7 @@ export default {
return {
...item,
selectValues,
qualityCheckResults
qualityCheckResults,
};
});
if (this.btnType === 'firstEdit') {
......@@ -671,9 +671,12 @@ export default {
workorderId: this.qcForm.workorderId,
inspectDate: new Date(),
inspector: this.qcForm.inspector,
status: 'PREPARE',
status: this.btnType === 'sjqrFinish'? 'CONFIRMED': 'PREPARE',
qcIpqclineList
};
if (this.btnType === 'sjqrFinish') {
delete param.ipqcType
}
const res = await this.$u.api.addIpqc(param);
if (res.code === 200) {
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