Browse Source

物料清单修改

master
李胜楠 1 year ago
parent
commit
2b21c71855
  1. 19
      src/views/wms/basicDataManage/itemManage/bom/bom.data.ts

19
src/views/wms/basicDataManage/itemManage/bom/bom.data.ts

@ -4,6 +4,9 @@ import { dateFormatter } from '@/utils/formatTime'
import * as ItembasicApi from '@/api/wms/itembasic'
import { Itembasic } from './../itembasic/itembasic.data'
import * as ProcessApi from '@/api/wms/process'
import { Process } from '../../factoryModeling/process/process.data'
const { t } = useI18n() // 国际化
/**
@ -99,6 +102,22 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
table: {
width: 120
},
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择工序代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '工序信息', // 查询弹窗标题
searchAllSchemas: Process.allSchemas, // 查询弹窗所需类
searchPage: ProcessApi.getProcessPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
}
},
{

Loading…
Cancel
Save