Browse Source

生产线物品关系去掉成品库原料库

master
陈薪名 11 months ago
parent
commit
6fc2d37aac
  1. 100
      src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts

100
src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts

@ -17,53 +17,53 @@ const { t } = useI18n() // 国际化
* @returns {Array} 线
*/
export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '完工收货库位',
field: 'fgLocationCode',
isSearch: true,
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true,
searchListPlaceholder: '请选择库位代码',
searchField: 'code',
searchTitle: '库位信息',
searchAllSchemas: Location.allSchemas,
searchPage: LocationApi.getLocationPage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
}
},
{
label: '原料库位',
field: 'rawLocationCode',
isSearch: true,
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true,
searchListPlaceholder: '请选择库位代码',
searchField: 'code',
searchTitle: '库位信息',
searchAllSchemas: Location.allSchemas,
searchPage: LocationApi.getLocationPage
}
}
},
// {
// label: '完工收货库位',
// field: 'fgLocationCode',
// isSearch: true,
// sort: 'custom',
// table: {
// width: 150,
// fixed: 'left'
// },
// form: {
// // labelMessage: '信息提示说明!!!',
// componentProps: {
// isSearchList: true,
// searchListPlaceholder: '请选择库位代码',
// searchField: 'code',
// searchTitle: '库位信息',
// searchAllSchemas: Location.allSchemas,
// searchPage: LocationApi.getLocationPage,
// searchCondition: [{
// key: 'available',
// value: 'TRUE',
// isMainValue: false
// }]
// }
// }
// },
// {
// label: '原料库位',
// field: 'rawLocationCode',
// isSearch: true,
// sort: 'custom',
// table: {
// width: 150,
// fixed: 'left'
// },
// form: {
// // labelMessage: '信息提示说明!!!',
// componentProps: {
// isSearchList: true,
// searchListPlaceholder: '请选择库位代码',
// searchField: 'code',
// searchTitle: '库位信息',
// searchAllSchemas: Location.allSchemas,
// searchPage: LocationApi.getLocationPage
// }
// }
// },
{
label: '产线代码' ,
field: 'productionLineCode',
@ -237,9 +237,9 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([
//表单校验
export const ProductionlineitemRules = reactive({
fgLocationCode: [
{ required: true, message: '请输入完工收货库位', trigger: 'change' }
],
// fgLocationCode: [
// { required: true, message: '请输入完工收货库位', trigger: 'change' }
// ],
productionLineCode: [
{ required: true, message: '请输入产线代码', trigger: 'change' }
],

Loading…
Cancel
Save