diff --git a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue index 59ab3f8b5..eed1ca90a 100644 --- a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue +++ b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue @@ -547,7 +547,6 @@ const buttonTableClick = async (val, row) => { await getDetailList() // 打开创建标签页面 // dialogVisible.value = true - formLabelRef.value.open('create', row) detatableData.tableList.map((item) => { // item.batch = '000000' // 查询物料类型 原料 只能选择 供应商代码 半成品成品其他 只能选择 生产线 @@ -570,7 +569,7 @@ const buttonTableClick = async (val, row) => { SupplieritemApi.getSupplieritemPage({ pageSize: 10, pageNo: 1, - code: item.itemCode, + itemCode: item.itemCode, sort: '', by: 'ASC', }).then(response => { @@ -589,7 +588,7 @@ const buttonTableClick = async (val, row) => { if(itemColumns.field == 'productionLineCodePackage') { ProductionlineitemApi.getProductionlineitemPage({ pageNo: 1, - code: item.itemCode, + itemCode: item.itemCode, sort: '', by: 'ASC', }).then(response => { @@ -603,6 +602,8 @@ const buttonTableClick = async (val, row) => { message.warning('没有查询到物料代码:【' + item.itemCode + '】') return } + + formLabelRef.value.open('create', row) }) })