|
|
@@ -65,7 +65,7 @@
|
|
|
:data="resbomtableData" row-key="ID" :cell-class-name="scfjfpxsCellClass">
|
|
|
<template v-for="(item, idx) in resbom_tableColumns">
|
|
|
<el-table-column #default="{ row, column, $index }" align="left" :label="item.label" :width="item.width" >
|
|
|
- <div v-if="['计划用料','定额用料','门封','领用'].includes(item.prop)">
|
|
|
+ <div v-if="['领用'].includes(item.prop)">
|
|
|
<el-input v-model="row[item.prop]" :clearable="false" style='height: 30px;'
|
|
|
:id="`input${idx}${$index}`" @keyup="resbom_handleKeyDown($event, idx, $index, item.prop)"/>
|
|
|
</div>
|
|
|
@@ -412,7 +412,6 @@ const _TestCoefficient = async ()=>{
|
|
|
item.备注 = item.备注;
|
|
|
item.UNIQID = item.UNIQID;
|
|
|
item.领用 = '';
|
|
|
- item.投料单位 = '米';
|
|
|
return item
|
|
|
});
|
|
|
} catch (error) {
|
|
|
@@ -451,8 +450,7 @@ const resbom_handleKeyDown = (event, x, y, prop) => {
|
|
|
}
|
|
|
}
|
|
|
const scfjfpxsCellClass = ({row, column, rowIndex, columnIndex}) =>{
|
|
|
- // '计划用料','定额用料','门封','领用'
|
|
|
- if (column.label === '计划用料' || column.label === '定额用料' || column.label === '门封' || column.label === '入库') {
|
|
|
+ if (column.label === '入库') {
|
|
|
return 'background-plan-usage-low';
|
|
|
}
|
|
|
}
|
|
|
@@ -473,12 +471,11 @@ const res_bomenterDialog = async() => {
|
|
|
rq: currentDate,
|
|
|
name: "入库",
|
|
|
sys_id: _username.value,
|
|
|
- U8UID:linguser.value
|
|
|
-
|
|
|
+ receipt_number: danhao.value,
|
|
|
+ recipient:linguser.value
|
|
|
}
|
|
|
});
|
|
|
console.log(formattedData);
|
|
|
-
|
|
|
const add_outReport = await outReport(formattedData);
|
|
|
if (add_outReport.code === 0) {
|
|
|
res_bomdialogFormVisible.value = false;
|