Browse Source

采购离散订单查看

hella_online_20240924
yufei_wang 2 months ago
parent
commit
8603e17004
  1. 1
      src/utils/dict.ts
  2. 8
      src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/index.vue
  3. 5
      src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/purchaseDiscreteOrderMain.data.ts

1
src/utils/dict.ts

@ -359,6 +359,7 @@ export enum DICT_TYPE {
INTERFACE_STATUS = 'interfaceStatus', // 接口调用信息 接口状态
SYSTEM_DAY = 'system_day', // 系统天数
PURCHASE_INVOICE_ORDER_TYPE = 'purchase_invoice_order_type', // 发票采购订单类型
DISCRETE_SUPPLIERINVOICE_READ = 'discrete_supplierinvoice_read', // 采购离散订单查看
// ========== eam - 业务 - ==========
DEVICE_TYPE = 'device_type', // 设备分类

8
src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/index.vue

@ -192,6 +192,7 @@
const { tableObject, tableMethods } = useTable({
getListApi: SupplierinvoiceRecordMainApi.getSupplierinvoiceRecordMainPage //
})
tableObject.params.isLS = 1
//
const { getList, setSearchParams } = tableMethods
@ -225,6 +226,7 @@
filters: tableObject.params.filters
})
} else {
tableObject.params.isLS = 1
getList()
}
} else if (val == 'filtrate') { //
@ -431,7 +433,11 @@
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
filters: [...searchData.filters,{
action : "==",
column: "isLS",
value: 1,
}]
}
getList() //
}

5
src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/purchaseDiscreteOrderMain.data.ts

@ -103,8 +103,8 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
},
{
label: '已读状态',
field: 'status',
dictType: DICT_TYPE.SUPPLIERINVOICE_REQUEST_STATUS,
field: 'isRead',
dictType: DICT_TYPE.DISCRETE_SUPPLIERINVOICE_READ,
dictClass: 'string',
isTable: true,
sortTableDefault:7,
@ -115,7 +115,6 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
},
search: {
componentProps: {
multiple: true,
collapseTags: true,
collapseTagsTooltip: true,
}

Loading…
Cancel
Save