Browse Source

YT-1081生产退料申请创建标签页面,标签供应商代码字段默认值不正确

intex
zhang_li 4 days ago
parent
commit
05f950012b
  1. 7
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

7
src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

@ -547,7 +547,6 @@ const buttonTableClick = async (val, row) => {
await getDetailList() await getDetailList()
// //
// dialogVisible.value = true // dialogVisible.value = true
formLabelRef.value.open('create', row)
detatableData.tableList.map((item) => { detatableData.tableList.map((item) => {
// item.batch = '000000' // item.batch = '000000'
// 线 // 线
@ -570,7 +569,7 @@ const buttonTableClick = async (val, row) => {
SupplieritemApi.getSupplieritemPage({ SupplieritemApi.getSupplieritemPage({
pageSize: 10, pageSize: 10,
pageNo: 1, pageNo: 1,
code: item.itemCode, itemCode: item.itemCode,
sort: '', sort: '',
by: 'ASC', by: 'ASC',
}).then(response => { }).then(response => {
@ -589,7 +588,7 @@ const buttonTableClick = async (val, row) => {
if(itemColumns.field == 'productionLineCodePackage') { if(itemColumns.field == 'productionLineCodePackage') {
ProductionlineitemApi.getProductionlineitemPage({ ProductionlineitemApi.getProductionlineitemPage({
pageNo: 1, pageNo: 1,
code: item.itemCode, itemCode: item.itemCode,
sort: '', sort: '',
by: 'ASC', by: 'ASC',
}).then(response => { }).then(response => {
@ -603,6 +602,8 @@ const buttonTableClick = async (val, row) => {
message.warning('没有查询到物料代码:【' + item.itemCode + '】') message.warning('没有查询到物料代码:【' + item.itemCode + '】')
return return
} }
formLabelRef.value.open('create', row)
}) })
}) })

Loading…
Cancel
Save