diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts index e0092c798..ca997c516 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts @@ -115,11 +115,11 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '单据号', + label: '单据号11', field: 'number', sort: 'custom', table: { - width: 150, + width: 180, fixed: 'left' }, isForm: false, @@ -550,4 +550,4 @@ export const DemandforecastingDetailRules = reactive({ itemCode: [ { required: true, message: '请选择物品代码', trigger: 'change' } ], -}) \ No newline at end of file +}) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts index 10ee5536d..629970a86 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts @@ -17,7 +17,7 @@ export const PurchaseMain = useCrudSchemas(reactive([ isSearch: true, isForm: false, table: { - width: 150, + width: 180, fixed: 'left' }, }, diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts index fb5aae880..86516c8f2 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts @@ -17,7 +17,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive([ sort: 'custom', isForm: false, table: { - width: 150, + width: 180, fixed: 'left' }, isSearch: true diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts index 91f14629f..5c7fcae75 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts @@ -259,7 +259,7 @@ export const SupplierdeliverRecordMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 180, fixed: 'left' }, isSearch: true diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index 800143343..673e1d53f 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -164,6 +164,12 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => { nextTick(() => { const setV = {} setV[formField] = val[0][searchField] + if (formField == 'poNumber') { + setV['poNumber'] = val[0]['poNumber'] + setV['itemCode'] = val[0]['itemCode'] + setV['poLine'] = val[0]['poLine'] + setV['uom'] = val[0]['uom'] + } formRef.setValues(setV) }) } diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts index 1a4c2ea72..31a688ffa 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts @@ -208,7 +208,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( field: 'number', sort: 'custom', table: { - width: 150, + width: 180, fixed: 'left' }, isForm: false, @@ -622,7 +622,13 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 180, fixed: 'left' }, isSearch: true diff --git a/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts b/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts index dff3b2fdd..762834c34 100644 --- a/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts +++ b/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts @@ -34,7 +34,7 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive([ field: 'number', isForm:false, table: { - width: 150, + width: 180, fixed: 'left' }, isSearch: true, @@ -553,4 +553,7 @@ export const PurchaseclaimRequestDetailRules = reactive({ uom: [ { required: true, message: '请输入计量单位', trigger: 'change' } ], + reason: [ + { required: true, message: '请输入原因', trigger: 'change' } + ], }) diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts index 5a191f0c5..5e92b46f3 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts @@ -39,7 +39,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ field:'number', sort: 'custom', table: { - width: 150, + width: 180, fixed: 'left' }, isSearch: true diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts index 93d66a248..23f468161 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts @@ -62,7 +62,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( field: 'number', sort: 'custom', table: { - width: 150, + width: 180, fixed: 'left' }, isSearch: true,