|
@ -18,10 +18,6 @@ export const ItemAccountsRules = reactive({ |
|
|
areaNumber: [required], |
|
|
areaNumber: [required], |
|
|
type: [required], |
|
|
type: [required], |
|
|
locationNumber: [required], |
|
|
locationNumber: [required], |
|
|
// qty: [
|
|
|
|
|
|
// required,
|
|
|
|
|
|
// { validator: validateNumber, message: '数量不能等于0', trigger: 'blur' },
|
|
|
|
|
|
// ],
|
|
|
|
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
export const ItemAccounts = useCrudSchemas( |
|
|
export const ItemAccounts = useCrudSchemas( |
|
@ -193,6 +189,7 @@ export const ItemAccounts = useCrudSchemas( |
|
|
field: 'uom', |
|
|
field: 'uom', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
|
|
|
isForm: false, |
|
|
table: { |
|
|
table: { |
|
|
width: 110 |
|
|
width: 110 |
|
|
}, |
|
|
}, |
|
@ -202,6 +199,7 @@ export const ItemAccounts = useCrudSchemas( |
|
|
field: 'specifications', |
|
|
field: 'specifications', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
|
|
|
isForm: false, |
|
|
table: { |
|
|
table: { |
|
|
width: 110 |
|
|
width: 110 |
|
|
}, |
|
|
}, |
|
@ -213,6 +211,7 @@ export const ItemAccounts = useCrudSchemas( |
|
|
dictType: DICT_TYPE.CLASSIFICATION, |
|
|
dictType: DICT_TYPE.CLASSIFICATION, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
|
|
|
isForm: false, |
|
|
table: { |
|
|
table: { |
|
|
width: 100 |
|
|
width: 100 |
|
|
}, |
|
|
}, |
|
@ -222,6 +221,7 @@ export const ItemAccounts = useCrudSchemas( |
|
|
field: 'usePlace', |
|
|
field: 'usePlace', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
|
|
|
isForm: false, |
|
|
table: { |
|
|
table: { |
|
|
width: 110 |
|
|
width: 110 |
|
|
}, |
|
|
}, |
|
@ -231,6 +231,7 @@ export const ItemAccounts = useCrudSchemas( |
|
|
field: 'project', |
|
|
field: 'project', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
|
|
|
isForm: false, |
|
|
table: { |
|
|
table: { |
|
|
width: 110 |
|
|
width: 110 |
|
|
}, |
|
|
}, |
|
@ -254,18 +255,6 @@ export const ItemAccounts = useCrudSchemas( |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
// {
|
|
|
|
|
|
// label: '是否账内库',
|
|
|
|
|
|
// field: 'isInAccount',
|
|
|
|
|
|
// dictType: DICT_TYPE.TRUE_FALSE,
|
|
|
|
|
|
// dictClass: 'string',
|
|
|
|
|
|
// isSearch: false,
|
|
|
|
|
|
// isTable: true,
|
|
|
|
|
|
// sort: 'custom',
|
|
|
|
|
|
// table: {
|
|
|
|
|
|
// width: 130
|
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '操作', |
|
|
label: '操作', |
|
|
field: 'action', |
|
|
field: 'action', |
|
|