Browse Source

要货预测

intex_online20250528
songguoqiang 2 weeks ago
parent
commit
cebc010c35
  1. 84
      src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts
  2. 83
      src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts

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

@ -74,32 +74,37 @@ export const Supplier1 = useCrudSchemas(reactive<CrudSchema[]>([
}
]))
export const Version = useCrudSchemas(reactive<CrudSchema[]>([
// {
// label: '供应商代码',
// field: 'supplierCodes',
// sort: 'custom',
// isSearch:true,
// },
// {
// label: '订单号',
// field: 'poNumber',
// sort: 'custom',
// isSearch:true,
// },
// {
// label: '订单行',
// field: 'poLine',
// sort: 'custom',
// },
// {
// label: '品番',
// field: 'itemCode',
// isSearch:true,
// sort: 'custom',
// },
{
label: '供应商代码',
field: 'supplierCodes',
sort: 'custom',
isSearch:true,
},
{
label: '订单号',
field: 'poNumber',
sort: 'custom',
isSearch:true,
},
{
label: '订单行',
field: 'poLine',
sort: 'custom',
},
{
label: '品番',
field: 'itemCode',
isSearch:true,
label: '子表版本',
field: 'detailVersion',
sort: 'custom',
},
{
label: '子表版本',
field: 'detailVersion',
label: '年月',
field: 'yearMonth',
sort: 'custom',
}
]))
@ -246,23 +251,24 @@ hiddenSearchHigh:true,
searchTitle: '版本号', // 查询弹窗标题
searchAllSchemas: Version.allSchemas, // 查询弹窗所需类
searchPage: DemandforecastingDetailApi.queryScpVersion, // 查询弹窗所需分页方法
searchCondition: [{
key: 'supplierCodes',
value: 'supplierCode',
message: '请填写供应商代码!',
isMainValue: true,
isCSV:true,//是否用逗号分隔参数
},{
key: 'itemCodes',
value: 'itemCode',
message: '请填写品番!',
isMainValue: true,
isCSV:true,//是否用逗号分隔参数
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
// searchCondition: [{
// key: 'supplierCodes',
// value: 'supplierCode',
// message: '请填写供应商代码!',
// isMainValue: true,
// isCSV:true,//是否用逗号分隔参数
// },{
// key: 'itemCodes',
// value: 'itemCode',
// message: '请填写品番!',
// isMainValue: true,
// isCSV:true,//是否用逗号分隔参数
// },
// {
// key: 'available',
// value: 'TRUE',
// isMainValue: false
// }]
}
}
},

83
src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts

@ -20,32 +20,37 @@ const { t } = useI18n() // 国际化
*/
Supplieritem.allSchemas.searchSchema = Supplieritem.allSchemas.searchSchema.filter(item=>item.field!="allowOverShipment")
export const Version = useCrudSchemas(reactive<CrudSchema[]>([
// {
// label: '供应商代码',
// field: 'supplerCodes',
// sort: 'custom',
// isSearch:true,
// },
// {
// label: '订单号',
// field: 'poNumber',
// sort: 'custom',
// isSearch:true,
// },
// {
// label: '订单行',
// field: 'poLine',
// sort: 'custom',
// },
// {
// label: '品番',
// field: 'itemCode',
// isSearch:true,
// sort: 'custom',
// },
{
label: '供应商代码',
field: 'supplerCodes',
sort: 'custom',
isSearch:true,
},
{
label: '订单号',
field: 'poNumber',
sort: 'custom',
isSearch:true,
},
{
label: '订单行',
field: 'poLine',
sort: 'custom',
},
{
label: '品番',
field: 'itemCode',
isSearch:true,
label: '版本',
field: 'detailVersion',
sort: 'custom',
},
{
label: '子表版本',
field: 'detailVersion',
label: '年月',
field: 'yearMonth',
sort: 'custom',
}
]))
@ -138,23 +143,23 @@ hiddenSearchHigh:true,
searchTitle: '版本号', // 查询弹窗标题
searchAllSchemas: Version.allSchemas, // 查询弹窗所需类
searchPage: DemandforecastingDetailApi.queryScpVersion, // 查询弹窗所需分页方法
searchCondition: [{
key: 'supplierCodes',
value: 'supplierCode',
message: '请填写供应商代码!',
isMainValue: true,
isCSV:true,//是否用逗号分隔参数
},{
key: 'itemCodes',
value: 'itemCode',
message: '请填写品番!',
isMainValue: true,
isCSV:true,//是否用逗号分隔参数
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
// searchCondition: [{
// key: 'supplierCodes',
// value: 'supplierCode',
// message: '请填写供应商代码!',
// isMainValue: true,
// isCSV:true,//是否用逗号分隔参数
// },{
// key: 'itemCodes',
// value: 'itemCode',
// message: '请填写品番!',
// isMainValue: true,
// isCSV:true,//是否用逗号分隔参数
// },{
// key: 'available',
// value: 'TRUE',
// isMainValue: false
// }]
}
}
},

Loading…
Cancel
Save