|
|
@ -2232,6 +2232,18 @@ export default { |
|
|
}, |
|
|
}, |
|
|
handleOneKeyProofingNoChange (proofingNo) { |
|
|
handleOneKeyProofingNoChange (proofingNo) { |
|
|
const selectedNo = this.isBlankValue(proofingNo) ? '' : String(proofingNo).trim() |
|
|
const selectedNo = this.isBlankValue(proofingNo) ? '' : String(proofingNo).trim() |
|
|
|
|
|
if (this.oneKeyDialogMode === 'edit') { |
|
|
|
|
|
// 修改模式下预计完成日期以数据库已存值为准,不跟随打样单号自动回填/清空。 |
|
|
|
|
|
if (!selectedNo) { |
|
|
|
|
|
this.oneKeyForm.proofingNo = '' |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
const matchedInEdit = this.oneKeyProofingApplyOptions.find(item => item && item.applyNo === selectedNo) |
|
|
|
|
|
if (matchedInEdit) { |
|
|
|
|
|
this.oneKeyForm.proofingNo = matchedInEdit.applyNo |
|
|
|
|
|
} |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
if (!selectedNo) { |
|
|
if (!selectedNo) { |
|
|
this.oneKeyForm.requiredDeliveryDate = '' |
|
|
this.oneKeyForm.requiredDeliveryDate = '' |
|
|
return |
|
|
return |
|
|
|