Commit c10d130b authored by jingnan's avatar jingnan 👀

保存验收单时接口修改

parent 7d6f00fd
...@@ -341,6 +341,8 @@ export default { ...@@ -341,6 +341,8 @@ export default {
...this.form, ...this.form,
jobOrder: { jobOrder: {
id: this.form.jobOrderId, id: this.form.jobOrderId,
extMaterialId: this.basicData.extMaterialId,
reqAmount: this.basicData.reqAmount,
hasTestPass: !!(this.form.isPass === '合格' || this.form.isPass === 'Y'), hasTestPass: !!(this.form.isPass === '合格' || this.form.isPass === 'Y'),
operator: 'MODIFY' operator: 'MODIFY'
}, },
......
...@@ -922,7 +922,10 @@ export default { ...@@ -922,7 +922,10 @@ export default {
...this.form, ...this.form,
jobOrder: { jobOrder: {
id: this.form.jobOrderId, id: this.form.jobOrderId,
hasTestPass: !!(this.form.isPass === '合格' || this.form.isPass === 'Y') extMaterialId: this.basicData.extMaterialId,
reqAmount: this.basicData.reqAmount,
hasTestPass: !!(this.form.isPass === '合格' || this.form.isPass === 'Y'),
operator: 'MODIFY'
}, },
'jobTestCheckItems': this.jobTestCheckItems 'jobTestCheckItems': this.jobTestCheckItems
} }
......
...@@ -311,7 +311,10 @@ export default { ...@@ -311,7 +311,10 @@ export default {
...this.form, ...this.form,
jobOrder: { jobOrder: {
id: this.form.jobOrderId, id: this.form.jobOrderId,
hasTestPass: !!(this.form.isPass === '合格' || this.form.isPass === 'Y') extMaterialId: this.basicData.extMaterialId,
reqAmount: this.basicData.reqAmount,
hasTestPass: !!(this.form.isPass === '合格' || this.form.isPass === 'Y'),
operator: 'MODIFY'
}, },
'jobTestCheckItems': this.jobTestCheckItems 'jobTestCheckItems': this.jobTestCheckItems
} }
......
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