|
|
@@ -38,6 +38,7 @@
|
|
|
</layout>
|
|
|
</div>
|
|
|
|
|
|
+
|
|
|
<el-dialog v-model="res_bomdialogFormVisible" :before-close="res_bomcloseDialog" width="100%" style="height: 100%;margin: 0%;padding: 0px 10px 0px 10px;" destroy-on-close>
|
|
|
<div class="dialog-footer" style="margin: 0px;">
|
|
|
<el-input v-model="add_lysearchInfo" placeholder="请扫描订单编号进行操作"
|
|
|
@@ -48,6 +49,7 @@
|
|
|
<!-- <el-button type="primary" @click="del_lingyong" style="width: 100px;height: 50px;">删除面料领用</el-button> -->
|
|
|
</div>
|
|
|
|
|
|
+ <!-- 上面部分 -->
|
|
|
<el-divider style="margin: 10px 0px 20px;" ><span style="font-size: 18px;color:red;font-weight: bold;margin-left: 20px;">绿色部分填写入库数量</span></el-divider>
|
|
|
<el-descriptions class="margin-top" :column="4" :size="size" border>
|
|
|
<el-descriptions-item label="订单编号" class="ddh">{{ ddhformData['ddh'] }}</el-descriptions-item>
|
|
|
@@ -63,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>
|
|
|
@@ -72,7 +74,8 @@
|
|
|
</template>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
+ <!-- 下面部分 -->
|
|
|
<div class="print-container">
|
|
|
<el-button type="primary" @click="res_bomenterDialog" style="width: 100px;height: 50px;">一键入库</el-button>
|
|
|
<el-divider>
|
|
|
@@ -272,7 +275,7 @@ const add_onSubmit = async ()=>{
|
|
|
ddhformData.ks = orderSearchdata.data[0]['款式']
|
|
|
add_lysearchInfo.value = add_searchInfo.value
|
|
|
|
|
|
- const gitReceiptNumberdata = await gitReceiptNumber({number:'入库'});
|
|
|
+ const gitReceiptNumberdata = await gitReceiptNumber({number:'RK'});
|
|
|
console.log(gitReceiptNumberdata)
|
|
|
danhao.value = gitReceiptNumberdata.data
|
|
|
chukuren.value = userStore.userInfo.nickName
|
|
|
@@ -409,6 +412,7 @@ const _TestCoefficient = async ()=>{
|
|
|
item.备注 = item.备注;
|
|
|
item.UNIQID = item.UNIQID;
|
|
|
item.领用 = '';
|
|
|
+ item.投料单位 = '米';
|
|
|
return item
|
|
|
});
|
|
|
} catch (error) {
|
|
|
@@ -447,7 +451,8 @@ const resbom_handleKeyDown = (event, x, y, prop) => {
|
|
|
}
|
|
|
}
|
|
|
const scfjfpxsCellClass = ({row, column, rowIndex, columnIndex}) =>{
|
|
|
- if (column.label === '入库') {
|
|
|
+ // '计划用料','定额用料','门封','领用'
|
|
|
+ if (column.label === '计划用料' || column.label === '定额用料' || column.label === '门封' || column.label === '入库') {
|
|
|
return 'background-plan-usage-low';
|
|
|
}
|
|
|
}
|