Browse Source

Merge branch 'intex' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into intex

intex_online20250528
songguoqiang 1 month ago
parent
commit
1f3d06a870
  1. 10
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  2. 25
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

10
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -73,7 +73,9 @@
@searchTableSuccess="searchTableSuccess"
@submitForm="submitForm"
@onEnter="onEnter"
@onBlur="onEnter">
@onBlur="onEnter"
@inputNumberChange="inputNumberChange"
>
<template #TableFormHead>
<div style="border-top:1px solid #ebeef5;padding:10px 10px 0 10px ;margin-right:10px" v-if="clickType =='create'">
@ -1063,7 +1065,11 @@ const handleSelectionPublish = async ()=>{
clearTableDataSearch()
}
}
// -
const inputNumberChange = (field, index, row, val) => {
console.log('inputNumberChange', field, index, row, val)
row.planQty = row.boxQty * row.purchaseStdQty
}
/** 初始化 **/
onMounted(async () => {
getList()

25
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

@ -917,7 +917,28 @@ export const PurchasePlanDetail = useCrudSchemas(
isPlaceholder:false
}
},
{
label: '箱数',
field: 'boxQty',
sort: 'custom',
sortSearchDefault: 9,
sortTableDefault: 21,
table: {
width: 150
},
tableForm: {
type: 'InputNumber',
min: 0,
precision: 0
},
form: {
component: 'InputNumber',
componentProps: {
min: 0,
precision: 0
}
}
},
{
label: '计划采购数量',
field: 'planQty',
@ -940,7 +961,7 @@ export const PurchasePlanDetail = useCrudSchemas(
}
},
// {
// label: '箱数',
// label: '订单数量',
// field: 'orderQty',
// sort: 'custom',
// sortSearchDefault: 8,

Loading…
Cancel
Save