核对品规

bozhou-古井贡酒
LAPTOP-S9HJSOEB\昊天 2 years ago
parent b62e496856
commit 50a8bc8351

@ -1395,7 +1395,7 @@ tr.ant-table-expanded-row:hover {background: #fbfbfb;}
.ant-tag-green-inverse {color: #fff;background: #52c41a;border-color: #52c41a;} .ant-tag-green-inverse {color: #fff;background: #52c41a;border-color: #52c41a;}
.ant-tag-blue {color: #1890ff;background: #e6f7ff;border-color: #91d5ff;} .ant-tag-blue {color: #1890ff;background: #e6f7ff;border-color: #91d5ff;}
.ant-tag-blue-inverse {color: #fff;background: #1890ff;border-color: #1890ff;} .ant-tag-blue-inverse {color: #fff;background: #1890ff;border-color: #1890ff;}
.ant-tag-geekblue {color: #2f54eb;background: #f0f5ff;border-color: #adc6ff;} .ant-tag-geekblue {color: #2f54eb;background: color(~`colorPalette("@{text-color}", 2)`);border-color: #adc6ff;}
.ant-tag-geekblue-inverse {color: #fff;background: #2f54eb;border-color: #2f54eb;} .ant-tag-geekblue-inverse {color: #fff;background: #2f54eb;border-color: #2f54eb;}
.ant-tag-purple {color: #722ed1;background: #f9f0ff;border-color: #d3adf7;} .ant-tag-purple {color: #722ed1;background: #f9f0ff;border-color: #d3adf7;}
.ant-tag-purple-inverse {color: #fff;background: #722ed1;border-color: #722ed1;} .ant-tag-purple-inverse {color: #fff;background: #722ed1;border-color: #722ed1;}

@ -25,7 +25,7 @@
</li> </li>
<li> <li>
<span class="img-box-title"> <span class="img-box-title">
品规: 品规选择:
</span> </span>
<span class="img-box-value"> <span class="img-box-value">
@ -45,16 +45,26 @@
</li> </li>
<li> <li>
<span class="img-box-title"> <span class="img-box-title">
个数: 上位个数:
</span> </span>
<span class="img-box-value"> <span class="img-box-value">
{{this.checkObj.wmsCount}}
</span>
</li>
<li>
<span class="img-box-title">
识别+顶部个数
</span>
<span class="img-box-value">
{{this.checkObj.count}}+
<a-input-number <a-input-number
id="inputNumber" id="inputNumber"
style="width: 100%" style="width: 50%"
v-model="checkObj.count" v-model="checkObj.countTop"
:min="0" :min="0"
:max="150" :max="150"
/> />
={{getCountAdd()}}
</span> </span>
</li> </li>
@ -125,7 +135,7 @@
type="primary" type="primary"
style="background:#29c12b;border-color:#29c12b;" style="background:#29c12b;border-color:#29c12b;"
@click="checkSure(checkObj.row,checkObj.column,checkObj.shelveId,index)" @click="checkSure(checkObj.row,checkObj.column,checkObj.shelveId,index)"
>核对品规 >核对上传
</a-button> </a-button>
<a-button <a-button
@ -292,7 +302,9 @@ export default {
this.column = 1; this.column = 1;
this.getStockInfo(1, 1); this.getStockInfo(1, 1);
}, },
getCountAdd(){
return this.checkObj.count + this.checkObj.countTop
},
checkSure(row, column, shelveId, index) { checkSure(row, column, shelveId, index) {
this.$api.httpApi this.$api.httpApi
.stockCheckCorrect({ .stockCheckCorrect({
@ -302,7 +314,7 @@ export default {
side: Number(this.side), side: Number(this.side),
streetId: Number(this.streetId), streetId: Number(this.streetId),
direction: Number(this.direction), direction: Number(this.direction),
conut: this.checkObj.count, countTop: this.checkObj.countTop,
category: this.checkObj.category, category: this.checkObj.category,
ok: 1, ok: 1,
@ -337,6 +349,7 @@ export default {
.catch((err) => {}); .catch((err) => {});
}, },
showModel(checkObj, index) { showModel(checkObj, index) {
console.log("1111");
this.visible = true; this.visible = true;
this.modelData = checkObj; this.modelData = checkObj;
this.index = index; this.index = index;

Loading…
Cancel
Save