Browse Source

[SBBJ-930]当前订单展示已出库数量, 以申领数量

master
zengqinyuan 2 months ago
parent
commit
d923e6f04e
  1. 14
      src/views/eam/item/itemApplyMain/itemApplyMain.data.ts
  2. 23
      src/views/eam/item/itemOrderMain/itemOrderMain.data.ts

14
src/views/eam/item/itemApplyMain/itemApplyMain.data.ts

@ -137,6 +137,9 @@ export const ItemApplyMainRules = reactive({
available: [ available: [
{ required: true, message: '请选择是否可用', trigger: 'change' } { required: true, message: '请选择是否可用', trigger: 'change' }
], ],
costCenter:[
{ required: true, message: '请填写描述', trigger: 'change' }
],
}) })
@ -355,8 +358,8 @@ export const ItemApplyDetail = useCrudSchemas(reactive<CrudSchema[]>([
isTable:false, isTable:false,
}, },
{ {
label: '申请库存数量', label: '申请库存数量',
field: 'requestQty', field: 'availableQty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -368,10 +371,11 @@ export const ItemApplyDetail = useCrudSchemas(reactive<CrudSchema[]>([
min: 0, min: 0,
precision: 2 precision: 2
}, },
isTable:false,
}, },
{ {
label: '可申请库存数量', label: '已出库数量',
field: 'availableQty', field: 'requestQty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -383,8 +387,8 @@ export const ItemApplyDetail = useCrudSchemas(reactive<CrudSchema[]>([
min: 0, min: 0,
precision: 2 precision: 2
}, },
isTable:false,
}, },
// { // {
// label: '是否账内库', // label: '是否账内库',
// field: 'isInAccount', // field: 'isInAccount',

23
src/views/eam/item/itemOrderMain/itemOrderMain.data.ts

@ -246,7 +246,7 @@ export const ItemOrderDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '库存数量', label: '订单数量',
field: 'qty', field: 'qty',
sort: 'custom', sort: 'custom',
table: { table: {
@ -265,18 +265,21 @@ export const ItemOrderDetail = useCrudSchemas(reactive<CrudSchema[]>([
precision: 6 precision: 6
} }
}, },
{ {
label: '操作', label: '已收货数量',
field: 'action', field: 'intQuantity',
isDetail: false, sort: 'custom',
isForm: false,
table: { table: {
width: 150, width: 150
fixed: 'right' },
isForm: false,
tableForm: {
disabled: true,
type: 'InputNumber',
min: 0,
precision: 2
},
}, },
isTableForm: false,
}
])) ]))
//表单校验 //表单校验

Loading…
Cancel
Save