1.修复盘点,养护页面bug

prod
x_z 3 years ago
parent 1fce671d72
commit ebe8570201

@ -516,7 +516,6 @@ export default {
}); });
}, },
startCount(val) { startCount(val) {
debugger
localStorage.setItem('key', JSON.stringify(this.formData.invSpaceCode)); localStorage.setItem('key', JSON.stringify(this.formData.invSpaceCode));
this.countProductList = []; this.countProductList = [];
if (this.countType === 0) { if (this.countType === 0) {

@ -108,11 +108,7 @@
border max-height="300" height="300"> border max-height="300" height="300">
<el-table-column label="序号" type="index" width="50"></el-table-column> <el-table-column label="序号" type="index" width="50"></el-table-column>
<el-table-column label="条码" width="180" prop="code" show-overflow-tooltip></el-table-column> <el-table-column label="条码" width="180" prop="code" show-overflow-tooltip></el-table-column>
<el-table-column width="150" <el-table-column width="150" label="产品通用名" prop="productName" show-overflow-tooltip></el-table-column>
label="产品通用名"
prop="productName"
show-overflow-tooltip
></el-table-column>
<el-table-column width="150" label="规格型号" prop="ggxh" show-overflow-tooltip></el-table-column> <el-table-column width="150" label="规格型号" prop="ggxh" show-overflow-tooltip></el-table-column>
<el-table-column width="150" label="批次号" prop="batchNo"></el-table-column> <el-table-column width="150" label="批次号" prop="batchNo"></el-table-column>
<el-table-column width="150" label="养护数量" prop="count"></el-table-column> <el-table-column width="150" label="养护数量" prop="count"></el-table-column>
@ -141,14 +137,14 @@
<el-input :disabled="scope.$index !== currentIndex" v-model="scope.row.remark"></el-input> <el-input :disabled="scope.$index !== currentIndex" v-model="scope.row.remark"></el-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="生产日期(yyMMdd)" prop="produceDate"></el-table-column> <el-table-column label="生产日期(yyMMdd)" prop="productionDate"></el-table-column>
<el-table-column label="失效日期(yyMMdd)" prop="expireDate" <el-table-column label="失效日期(yyMMdd)" prop="expireDate"
show-overflow-tooltip></el-table-column> show-overflow-tooltip></el-table-column>
<el-table-column label="注册/备案凭证号" prop="zczbhhzbapzbh" <el-table-column label="注册/备案凭证号" prop="zczbhhzbapzbh"
show-overflow-tooltip></el-table-column> show-overflow-tooltip></el-table-column>
<el-table-column label="生产厂家" prop="ylqxzcrbarmc" <el-table-column label="生产厂家" prop="ylqxzcrbarmc"
show-overflow-tooltip></el-table-column> show-overflow-tooltip></el-table-column>
<el-table-column label="操作" > <el-table-column label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
type="text" type="text"
@ -338,7 +334,6 @@ export default {
this.closeDialog(); this.closeDialog();
}, },
saveOrder(code) { saveOrder(code) {
debugger
if (isBlank(this.formData.invCode)) { if (isBlank(this.formData.invCode)) {
this.$message.warning("请选择养护仓库!"); this.$message.warning("请选择养护仓库!");
return; return;
@ -566,7 +561,8 @@ export default {
if (null !== this.maOrder && !isBlank(this.maOrder.orderId)) { if (null !== this.maOrder && !isBlank(this.maOrder.orderId)) {
this.formData.orderId = this.maOrder.orderId; this.formData.orderId = this.maOrder.orderId;
this.formData.createTime = this.maOrder.createTime; this.formData.createTime = this.maOrder.createTime;
this.formData.invCode = this.maOrder.invWarehouseCode; this.formData.invCode = this.maOrder.invCode;
this.formData.invSpaceCode = this.maOrder.invSpaceCode;
this.getList(); this.getList();
} }
}, },

Loading…
Cancel
Save