update 产线和产品
This commit is contained in:
parent
b3aba50b09
commit
ba44951b71
@ -105,8 +105,6 @@ const addOrUpdateConfigs = {
|
||||
}
|
||||
]
|
||||
},
|
||||
'remark',
|
||||
'specifications',
|
||||
{
|
||||
name: 'typeDictValue',
|
||||
label: '产品类型', // 对于非常见属性,最好自己指定label
|
||||
@ -123,7 +121,15 @@ const addOrUpdateConfigs = {
|
||||
options: [
|
||||
// 动态获取
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'area',
|
||||
label: '单位平方数',
|
||||
type: 'number',
|
||||
rules: [{ type: 'number', transform: val => Number(val), message: '请输入数字', trigger: 'blur' }]
|
||||
},
|
||||
'specifications',
|
||||
'remark'
|
||||
],
|
||||
operations: [
|
||||
{ name: 'cancel', url: true, showAlways: true },
|
||||
|
@ -60,7 +60,7 @@ import TableOperateComponent from '@/components/base-table/components/operationC
|
||||
|
||||
const tableConfigs = [
|
||||
{ prop: 'createTime', name: '添加时间' },
|
||||
{ prop: 'factoryId', name: '工厂ID' },
|
||||
{ prop: 'factoryName', name: '工厂' },
|
||||
{ prop: 'name', name: '产线名称' },
|
||||
{ prop: 'code', name: '产线编码' },
|
||||
{ prop: 'status', name: '产线状态' },
|
||||
|
Loading…
Reference in New Issue
Block a user