|
|
@ -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
|
|
|
|
// }]
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|