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

Loading…
Cancel
Save