diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue index 5bd2b4680..1bdbee7e7 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue @@ -106,8 +106,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => //row[formField] = val[0][searchField] if(formField == 'itemCode') { row['itemCode'] = val[0]['code'] - } else { + } else if(formField == 'poNumber') { row['poNumber'] = val[0]['number'] + } else { + // row['poNumber'] = val[0]['number'] row['poLine'] = val[0]['lineNumber'] } } else { diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts index 366dd7c27..af3eec0fd 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts @@ -515,6 +515,11 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive