|
|
@@ -652,29 +652,8 @@ export default {
|
|
|
},
|
|
|
//点击可用库存打开
|
|
|
storeInventoryOpen(row) {
|
|
|
- // if (this.$store.getters.tagList.filter(item=>item.value.includes("/inventory/detail")).length>0) {
|
|
|
- // this.$alert("明细账已存在,请关闭明细账再进行操作", "温馨提示", {
|
|
|
- // confirmButtonText: "确定",
|
|
|
- // type: "warning",
|
|
|
- // callback: (action) => {
|
|
|
- // console.log(action);
|
|
|
- // },
|
|
|
- // });
|
|
|
- // } else {
|
|
|
- // this.params.corpId = row.corpId;
|
|
|
- // this.params.itemId = row.goodsId;
|
|
|
- // this.params.storageId = row.storageId;
|
|
|
- // this.$router.$avueRouter.closeTag("/inventory/detail");
|
|
|
- // this.$router.push({
|
|
|
- // path: "/inventory/detail",
|
|
|
- // query: {
|
|
|
- // stockId: row.storageId,
|
|
|
- // goodsId: row.goodsId,
|
|
|
- // dot: row.dot,
|
|
|
- // },
|
|
|
- // });
|
|
|
- // }
|
|
|
- this.$router.push({
|
|
|
+ if (this.verifyTags("明细账")) {
|
|
|
+ this.$router.push({
|
|
|
path: "/inventory/detail",
|
|
|
query: {
|
|
|
stockId: row.storageId,
|
|
|
@@ -682,6 +661,7 @@ export default {
|
|
|
dot: row.dot,
|
|
|
},
|
|
|
});
|
|
|
+ }
|
|
|
},
|
|
|
},
|
|
|
};
|