Browse Source

增加计划数量的展示

master
zhaoxuebing 8 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['poLine'] = val[0]['poLine']
row['uom'] = val[0]['uom']
row['planQty'] = val[0]['planQty']
}
} else {
const setV = {}
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
},
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: '数量',
field: 'qty',
@ -877,7 +900,6 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
precision: 6
}
},
{
label: '备注',
field: 'remark',

Loading…
Cancel
Save