Browse Source

增加行类型字段

master_hella_20240701
chenfang 8 months ago
parent
commit
971620447d
  1. 2
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue
  2. 9
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts

2
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue

@ -202,6 +202,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
newRow['itemCode'] = item['itemCode'] newRow['itemCode'] = item['itemCode']
newRow['uom'] = item['uom'] newRow['uom'] = item['uom']
newRow['poNumber'] = item['number'] newRow['poNumber'] = item['number']
newRow['poLineType'] = item['poLineType']
let supplierCode = formRef.formModel.supplierCode; let supplierCode = formRef.formModel.supplierCode;
let queryData = { let queryData = {
supplierCode:supplierCode, supplierCode:supplierCode,
@ -224,6 +225,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
//---- //----
setV['supplierCode'] = val[0]['supplierCode'] setV['supplierCode'] = val[0]['supplierCode']
setV['poNumber'] = val[0]['number'] setV['poNumber'] = val[0]['number']
setV['poNumber'] = val[0]['number']
const newRow = val[0] const newRow = val[0]
newRow['poNumber'] = val[0]['number'] newRow['poNumber'] = val[0]['number']
// //

9
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts

@ -623,6 +623,15 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}] }]
} }
}, },
{
label: '行类型',
field: 'poLineType',
sort: 'custom',
table: {
width: 180
},
isForm: false,
},
{ {
label: '物料代码', label: '物料代码',
field: 'itemCode', field: 'itemCode',

Loading…
Cancel
Save