|
|
@ -101,6 +101,9 @@ |
|
|
|
import packageTarget from '@/mycomponents/package/packageTarget.vue' |
|
|
|
import recordComDetailCard from '@/mycomponents/record/recordComDetailCard.vue' |
|
|
|
import packUnit from '@/mycomponents/qty/packUnit.vue' |
|
|
|
import { |
|
|
|
getCurrDateTime |
|
|
|
} from '@/common/basic.js'; |
|
|
|
|
|
|
|
export default { |
|
|
|
components: { |
|
|
@ -303,7 +306,7 @@ |
|
|
|
}, |
|
|
|
commit() { |
|
|
|
if (this.detailSource.length > 0 && this.detailSource[0].subList.length > 0) { |
|
|
|
if (this.toPackUnit == "包装规格") { |
|
|
|
if (!this.toPackUnit||this.toPackUnit == "包装规格") { |
|
|
|
this.showErrorMessage("请选择目标包装规格") |
|
|
|
return; |
|
|
|
} |
|
|
@ -349,13 +352,13 @@ |
|
|
|
itemName: item.itemName, // 物品名称 |
|
|
|
packName: item.packName,// 包装名称 |
|
|
|
packageCode: item.toPackingNumber, // 包装号 |
|
|
|
batch:item.batch,//批次 |
|
|
|
batch:item.toBatch,//批次 |
|
|
|
parentNumber:item.parentNumber,//父包装号 |
|
|
|
itemType: item.itemType,//物料类型 |
|
|
|
asnNumber:item.asnNumber,//ASN |
|
|
|
supplierCode: item.supplierCode, // 供应商 |
|
|
|
qty: item.qty, // 数量 |
|
|
|
printTimes:item.printTimes, // 打印时间 |
|
|
|
printTimes:getCurrDateTime(), // 打印时间 |
|
|
|
barcodeString: item.barcodeString, // 标签信息 |
|
|
|
barcodeBase64: '', |
|
|
|
}) |
|
|
|