|
|
@ -413,8 +413,8 @@ const getLabelDetailPage = async (row, useToPackingNumber) => { |
|
|
|
|
|
|
|
}) |
|
|
|
if (enableBuy.value == "TRUE" && enableMake.value == "FALSE") { |
|
|
|
detailListTableColumns.tableFormColumns = BalancePackage.allSchemas.tableFormColumns.filter(item=>item.field != 'productionLineCodePackage') |
|
|
|
delete detailListTableColumnsRules.value.productionLineCodePackage |
|
|
|
detailListTableColumns.tableFormColumns = BalancePackage.allSchemas.tableFormColumns.filter(item=>item.field != 'productionLine') |
|
|
|
delete detailListTableColumnsRules.value.productionLine |
|
|
|
// 修改 tableform 属性 |
|
|
|
await SupplieritemApi.getSupplieritemPage({ |
|
|
|
pageSize: 10, |
|
|
@ -441,8 +441,8 @@ const getLabelDetailPage = async (row, useToPackingNumber) => { |
|
|
|
by: 'ASC', |
|
|
|
}).then(response => { |
|
|
|
detailListTableColumns.tableFormColumns.map(itemColumns => { |
|
|
|
if(itemColumns.field == 'productionLineCodePackage') { |
|
|
|
row.productionLineCodePackage = response?.list[0]?.productionLineCode |
|
|
|
if(itemColumns.field == 'productionLine') { |
|
|
|
row.productionLine = response?.list[0]?.productionLineCode |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
@ -607,7 +607,7 @@ const pointLabel = async () => { |
|
|
|
packUnit:detatableData1.value[0].packUnit, |
|
|
|
packQty:detatableData1.value[0].packQty, |
|
|
|
uom:detatableData1.value[0].uom, |
|
|
|
productionLineCodePackage:detatableData1.value[0].productionLineCodePackage, |
|
|
|
productionLine:detatableData1.value[0].productionLine, |
|
|
|
supplierCode:detatableData1.value[0].supplierItemCode, |
|
|
|
} |
|
|
|
// const isHave = detatableData1.value.find(item => parseFloat(item.printQty) <= 0) |
|
|
|