Browse Source

增加订单类型筛选条件

master_hella_20240701
zhaoxuebing 7 months ago
parent
commit
2d8ae7f9f1
  1. 1
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue
  2. 22
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

1
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -45,7 +45,6 @@
:tableAllSchemas="SupplierinvoiceRequestDetail.allSchemas" :tableAllSchemas="SupplierinvoiceRequestDetail.allSchemas"
:tableFormRules="SupplierinvoiceRequestDetailRules" :tableFormRules="SupplierinvoiceRequestDetailRules"
:tableData="tableData" :tableData="tableData"
:sumFormDataByForm ="(formRef,formModel)=>{ :sumFormDataByForm ="(formRef,formModel)=>{
const {taxRate=0,amount=0} = formModel const {taxRate=0,amount=0} = formModel
formRef.value.setValues({ formRef.value.setValues({

22
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

@ -123,6 +123,17 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
} }
} }
}, },
{
label: '订单类型',
field: 'orderType',
dictType: DICT_TYPE.PURCHASE_ORDER_TYPE,
dictClass: 'string',
isTable: false,
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '供应商名称', label: '供应商名称',
field: 'supplierName', field: 'supplierName',
@ -741,6 +752,11 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
value: 'supplierCode', value: 'supplierCode',
message: '请填供应商信息!', message: '请填供应商信息!',
isMainValue: true isMainValue: true
},{
key: 'orderType',
value: 'orderType',
message: '请填订单类型!',
isMainValue: true
} }
] ]
} }
@ -759,6 +775,12 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
value: 'supplierCode', value: 'supplierCode',
message: '请填供应商信息!', message: '请填供应商信息!',
isMainValue: true isMainValue: true
},
{
key: 'orderType',
value: 'orderType',
message: '请填订单类型!',
isMainValue: true
} }
] ]
} }

Loading…
Cancel
Save