Browse Source

增加订单类型筛选条件

master_hella_20240701
zhaoxuebing 6 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"
:tableFormRules="SupplierinvoiceRequestDetailRules"
:tableData="tableData"
:sumFormDataByForm ="(formRef,formModel)=>{
const {taxRate=0,amount=0} = formModel
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: '供应商名称',
field: 'supplierName',
@ -741,6 +752,11 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
value: 'supplierCode',
message: '请填供应商信息!',
isMainValue: true
},{
key: 'orderType',
value: 'orderType',
message: '请填订单类型!',
isMainValue: true
}
]
}
@ -759,6 +775,12 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
value: 'supplierCode',
message: '请填供应商信息!',
isMainValue: true
},
{
key: 'orderType',
value: 'orderType',
message: '请填订单类型!',
isMainValue: true
}
]
}

Loading…
Cancel
Save