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

Loading…
Cancel
Save