|
|
|
@ -844,11 +844,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
async prepareComparisonData() { |
|
|
|
this.shipmentLine = [] |
|
|
|
const params = { |
|
|
|
site: this.site, |
|
|
|
workOrderNo: this.orderNo, |
|
|
|
} |
|
|
|
const materials = await this.ensureShipmentLineLoaded() |
|
|
|
if (!materials.length) { |
|
|
|
throw new Error('发货单物料清单为空,无法对比') |
|
|
|
} |
|
|
|
|