修改bug

prod
wangwei 2 years ago
parent a94c6a5e2c
commit 7cefc5a438

@ -11,7 +11,6 @@
>开始盘点
</el-button>
<el-button
v-if="countType != 2"
type="primary"
:disabled="this.codeArray.length > 0"
@click.native="startCount()"
@ -503,6 +502,7 @@ export default {
//
this.saveOrder(1);
}
this.formData.invSpaceCode = JSON.parse(localStorage.getItem('key'));
this.selectInvProductVisible = false;
},
getRowKeys(row) {
@ -515,6 +515,7 @@ export default {
});
},
startCount() {
localStorage.setItem('key', JSON.stringify(this.formData.invSpaceCode));
this.countProductList = [];
if (this.countType === 0) {
if (isBlank(this.formData.invCode)) {
@ -554,7 +555,7 @@ export default {
}
});
} else if (this.countType === 2) {
if (isBlank(this.formData.invStorageCode) || isBlank(this.formData.invWarehouseCode)) {
if (isBlank(this.formData.invCode) || isBlank(this.formData.invSpaceCode)) {
this.$message.warning("请先选盘点仓库");
return;
}

Loading…
Cancel
Save