Browse Source

FWHL-81线边原料报废明细数量修改问题

hella_online_20241212_pandian
王宇飞 3 months ago
parent
commit
4abc1a0f3d
  1. 7
      README.md
  2. 4
      src/components/TableForm/src/TableForm.vue
  3. 3
      src/views/wms/issueManage/productionscrap/productionscrapRequestMain/productionscrapRequestMain.data.ts

7
README.md

@ -100,7 +100,12 @@ tableForm:{
}]
},
tableForm: {
type: 'InputNumber',
minField: 0, // 每行数据不同最小值
precision: 2,
maxField:'maxQty' // 每行数据不同最大值
}
**主子表合并需要修改的代码**
1、影响Table表头

4
src/components/TableForm/src/TableForm.vue

@ -148,8 +148,8 @@
style="width: 100%"
:key="headerItem.field + $index"
v-model="row[headerItem.field]"
:max="headerItem?.tableForm?.max"
:min="headerItem?.tableForm?.min"
:max="headerItem?.tableForm?.maxField?row[headerItem?.tableForm?.maxField]:headerItem?.tableForm?.max"
:min="headerItem?.tableForm?.minField?row[headerItem?.tableForm?.minField]:headerItem?.tableForm?.min"
:precision="headerItem?.tableForm?.precision"
:disabled="itemIsDisabled(headerItem, row)"
@change="

3
src/views/wms/issueManage/productionscrap/productionscrapRequestMain/productionscrapRequestMain.data.ts

@ -1807,7 +1807,8 @@ export const ProductionscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]
tableForm: {
type: 'InputNumber',
min: 0,
precision: 2
precision: 2,
maxField:'maxQty'
}
},
{

Loading…
Cancel
Save