|
|
@@ -84,7 +84,7 @@
|
|
|
<el-table-column :label="item.label" :width="item.width">
|
|
|
<template #default="{ row, column, $index }">
|
|
|
<!-- 判断该列是否需要输入框 -->
|
|
|
- <div v-if="['领用','实际门幅'].includes(item.prop)">
|
|
|
+ <div v-if="['入库数量','实际门幅'].includes(item.prop)">
|
|
|
<el-input
|
|
|
v-model="row[item.prop]"
|
|
|
:clearable="false"
|
|
|
@@ -360,22 +360,22 @@ const ddhformData = reactive({
|
|
|
});
|
|
|
const resbom_tableColumns = ref(
|
|
|
[
|
|
|
- { label: '批次号', prop: '批次号', width: '80' },
|
|
|
- { label: '关联号', prop: '关联号', width: '80' },
|
|
|
- { label: '物料编号', prop: '物料编号', width: '160' },
|
|
|
- { label: '物料名称', prop: '物料名称', width: '90' },
|
|
|
- { label: '计划用料', prop: '计划用料', width: '90' },
|
|
|
- { label: '计划门幅', prop: 'BOM_计划门幅', width: '90' },
|
|
|
- { label: '定额用料', prop: '定额用料', width: '90' },
|
|
|
- { label: '定额门幅', prop: 'BOM_定额门幅', width: '90' },
|
|
|
- { label: '实际门幅', prop: '实际门幅', width: '100' },
|
|
|
- { label: '领用', prop: '领用', width: '100' },
|
|
|
- { label: '入仓总量', prop: '入仓总量', width: '90' },
|
|
|
- { label: '库存数量', prop: '库存数量', width: '90' },
|
|
|
- { label: '领用数量', prop: '领用数量', width: '90' },
|
|
|
- { label: '颜色', prop: 'BOM_颜色', width: '100' },
|
|
|
- { label: '关联订单', prop: '关联订单', width: '110' },
|
|
|
- { label: '单位', prop: '单位', width: '100' },
|
|
|
+ { label: '物料编号', prop: '物料编号', width: '160' },
|
|
|
+ { label: '物料名称', prop: '物料名称', width: '100' },
|
|
|
+ { label: '计划用料', prop: '计划用料', width: '90' },
|
|
|
+ { label: '计划门幅', prop: 'BOM_计划门幅', width: '90' },
|
|
|
+ { label: '定额用料', prop: '定额用料', width: '90' },
|
|
|
+ { label: '定额门幅', prop: 'BOM_定额门幅', width: '90' },
|
|
|
+ { label: '实际门幅', prop: '实际门幅', width: '100' },
|
|
|
+ { label: '入库数量', prop: '入库数量', width: '90' },
|
|
|
+ { label: '入仓总数量', prop: '入仓总量', width: '100' },
|
|
|
+ { label: '库存数量', prop: '库存数量', width: '90' },
|
|
|
+ { label: '领用数量', prop: '领用数量', width: '100' },
|
|
|
+ { label: '批次号', prop: '批次号', width: '80' },
|
|
|
+ { label: '关联号', prop: '关联号', width: '80' },
|
|
|
+ { label: '颜色', prop: 'BOM_颜色', width: '100' },
|
|
|
+ { label: '关联订单', prop: '关联订单', width: '160' },
|
|
|
+ { label: '单位', prop: '单位', width: '90' },
|
|
|
]
|
|
|
)
|
|
|
|
|
|
@@ -446,7 +446,7 @@ const resbom_handleKeyDown = (event, x, y, prop) => {
|
|
|
}
|
|
|
}
|
|
|
const scfjfpxsCellClass = ({row, column, rowIndex, columnIndex}) =>{
|
|
|
- if (column.label === '领用' ||column.label === '实际门幅') {
|
|
|
+ if (column.label === '入库数量' ||column.label === '实际门幅') {
|
|
|
return 'background-plan-usage-low';
|
|
|
}
|
|
|
}
|