Browse Source

供应商发货模块筛选条件添加

master
李胜楠 12 months ago
parent
commit
d13e0784cc
  1. 15
      src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts
  2. 15
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts
  3. 29
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts
  4. 7
      src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts

15
src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts

@ -26,7 +26,12 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '供应商信息', // 查询弹窗标题 searchTitle: '供应商信息', // 查询弹窗标题
searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类 searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类
searchPage: SupplierApi.getSupplierPage // 查询弹窗所需分页方法 searchPage: SupplierApi.getSupplierPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
} }
} }
}, },
@ -309,6 +314,10 @@ export const DemandforecastingDetail = useCrudSchemas(reactive<CrudSchema[]>([
key:'supplierCode', key:'supplierCode',
value:'supplierCode', value:'supplierCode',
isMainValue: true isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}//, //条件,例:isMainValue: true,表示查询条件是主表的字段的值 itemCode:查询列表中字段 supplierCode:指主表某字段 }//, //条件,例:isMainValue: true,表示查询条件是主表的字段的值 itemCode:查询列表中字段 supplierCode:指主表某字段
// { // {
// key:'available', // key:'available',
@ -330,6 +339,10 @@ export const DemandforecastingDetail = useCrudSchemas(reactive<CrudSchema[]>([
key:'supplierCode', key:'supplierCode',
value:'supplierCode', value:'supplierCode',
isMainValue: true isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}//, //条件,例:isMainValue: true,表示查询条件是主表的字段的值 itemCode:查询列表中字段 supplierCode:指主表某字段 }//, //条件,例:isMainValue: true,表示查询条件是主表的字段的值 itemCode:查询列表中字段 supplierCode:指主表某字段
// { // {
// key:'available', // key:'available',

15
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts

@ -37,7 +37,12 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '供应商信息', // 查询弹窗标题 searchTitle: '供应商信息', // 查询弹窗标题
searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类 searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类
searchPage: SupplierApi.getSupplierPage // 查询弹窗所需分页方法 searchPage: SupplierApi.getSupplierPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
} }
} }
}, },
@ -375,6 +380,10 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
key:'supplierCode', key:'supplierCode',
value:'supplierCode', value:'supplierCode',
isMainValue: true isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}] }]
}, },
form: { form: {
@ -390,6 +399,10 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
key:'supplierCode', key:'supplierCode',
value:'supplierCode', value:'supplierCode',
isMainValue: true isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}] }]
} }
} }

29
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

@ -38,7 +38,12 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '供应商信息', // 查询弹窗标题 searchTitle: '供应商信息', // 查询弹窗标题
searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类 searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类
searchPage: SupplierApi.getSupplierPage // 查询弹窗所需分页方法 searchPage: SupplierApi.getSupplierPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
} }
} }
}, },
@ -286,7 +291,12 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'number', searchField: 'number',
searchTitle: '采购订单信息', searchTitle: '采购订单信息',
searchAllSchemas: PurchaseMain.allSchemas, searchAllSchemas: PurchaseMain.allSchemas,
searchPage: PurchaseMainApi.getPurchaseMainPage searchPage: PurchaseMainApi.getPurchaseMainPage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -296,7 +306,12 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'number', searchField: 'number',
searchTitle: '采购订单信息', searchTitle: '采购订单信息',
searchAllSchemas: PurchaseMain.allSchemas, searchAllSchemas: PurchaseMain.allSchemas,
searchPage: PurchaseMainApi.getPurchaseMainPage searchPage: PurchaseMainApi.getPurchaseMainPage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
} }
} }
}, },
@ -318,6 +333,10 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
key:'number', key:'number',
value:'poNumber', value:'poNumber',
isMainValue: true isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}] }]
}, },
form: { form: {
@ -333,6 +352,10 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
key:'number', key:'number',
value:'poNumber', value:'poNumber',
isMainValue: true isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}] }]
} }
} }

7
src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts

@ -53,7 +53,12 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'asnNumber', // 查询弹窗赋值字段 searchField: 'asnNumber', // 查询弹窗赋值字段
searchTitle: '供应商发货记录', // 查询弹窗标题 searchTitle: '供应商发货记录', // 查询弹窗标题
searchAllSchemas: SupplierdeliverRecordMain.allSchemas, // 查询弹窗所需类 searchAllSchemas: SupplierdeliverRecordMain.allSchemas, // 查询弹窗所需类
searchPage: supplierdeliverRecordMainApi.getSupplierdeliverRecordMainPage // 查询弹窗所需分页方法 searchPage: supplierdeliverRecordMainApi.getSupplierdeliverRecordMainPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
} }
} }
}, },

Loading…
Cancel
Save