Browse Source

修改数量字段为不可用

master_hella_20240701
TengXF 6 months ago
parent
commit
a9f1943400
  1. 9
      src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts

9
src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts

@ -45,7 +45,7 @@ const queryParams = {
// id 转str 否则form回显匹配不到 // id 转str 否则form回显匹配不到
userDept.id = userDept.id.toString() userDept.id = userDept.id.toString()
const userDeptArray:any = [userDept] const userDeptArray:any = [userDept]
/** /**
* @returns {Array} * @returns {Array}
*/ */
@ -833,7 +833,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema
} }
} }
}, },
{ {
label: '物料名称', label: '物料名称',
field: 'itemName', field: 'itemName',
@ -874,7 +874,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema
isTableForm: false, isTableForm: false,
isForm: false, isForm: false,
}, },
{ {
label: '计量单位', label: '计量单位',
field: 'uom', field: 'uom',
@ -1059,7 +1059,7 @@ export const ProductdismantleRequestDetailaRules = reactive({
], ],
bomVersion: [ bomVersion: [
{ required: true, message: '请选择Bom版本', trigger: 'change' } { required: true, message: '请选择Bom版本', trigger: 'change' }
], ],
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],
@ -1273,6 +1273,7 @@ export const BomDismantle = useCrudSchemas(reactive<CrudSchema[]>([
label: '数量', label: '数量',
field: 'qty', field: 'qty',
tableForm: { tableForm: {
disabled: true,
type: 'InputNumber', type: 'InputNumber',
min: 0, min: 0,
precision: 6 precision: 6

Loading…
Cancel
Save