Browse Source

增加计划数量的展示

master
zhaoxuebing 9 months ago
parent
commit
ae5f18e555
  1. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue
  2. 28
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

2
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

@ -153,8 +153,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
row['itemCode'] = val[0]['itemCode'] row['itemCode'] = val[0]['itemCode']
row['poLine'] = val[0]['poLine'] row['poLine'] = val[0]['poLine']
row['uom'] = val[0]['uom'] row['uom'] = val[0]['uom']
row['planQty'] = val[0]['planQty']
} }
} else { } else {
const setV = {} const setV = {}
setV[formField] = val[0][searchField] setV[formField] = val[0][searchField]

28
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

@ -853,10 +853,33 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
width: 150 width: 150
}, },
tableForm: { tableForm: {
type: 'Select' type: 'Select',
disabled: true,
}
},
{
label: '计划数量数量',
field: 'planQty',
sort: 'custom',
table: {
width: 150
},
isForm:false,
form: {
component: 'InputNumber',
componentProps: {
disabled:true,
min: 1,
precision: 6
}
},
tableForm: {
disabled:true,
type: 'InputNumber',
min: 1,
precision: 6
} }
}, },
{ {
label: '数量', label: '数量',
field: 'qty', field: 'qty',
@ -877,7 +900,6 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
precision: 6 precision: 6
} }
}, },
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',

Loading…
Cancel
Save