|
|
@@ -356,8 +356,8 @@ export default {
|
|
|
prop: "sort",
|
|
|
overHidden: true,
|
|
|
search: true,
|
|
|
- searchValue:0,
|
|
|
- hide: true,
|
|
|
+ searchValue: 0,
|
|
|
+ hide: true
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
@@ -680,34 +680,21 @@ export default {
|
|
|
return "padding:0;height:40px;";
|
|
|
},
|
|
|
inPage(row) {
|
|
|
- this.$router.$avueRouter.closeTag("/tirePartsMall/inventory/areaDetail");
|
|
|
- this.$router.push({
|
|
|
- path: "/tirePartsMall/inventory/areaDetail",
|
|
|
- query: {
|
|
|
- pid: row.id,
|
|
|
- storageId: row.storageId,
|
|
|
- goodsId: row.goodsId,
|
|
|
- dot: row.dot
|
|
|
- }
|
|
|
- });
|
|
|
+ if (this.verifyTags("库区明细")) {
|
|
|
+ this.$router.push({
|
|
|
+ path: "/tirePartsMall/inventory/areaDetail",
|
|
|
+ query: {
|
|
|
+ pid: row.id,
|
|
|
+ storageId: row.storageId,
|
|
|
+ goodsId: row.goodsId,
|
|
|
+ dot: row.dot
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
//点击可用库存打开
|
|
|
storeInventoryOpen(row) {
|
|
|
- console.log(this.$store.getters.inventoryAccount);
|
|
|
- if (this.$store.getters.inventoryAccount) {
|
|
|
- this.$alert("明细账已存在,请保存关闭明细账再进行操作", "温馨提示", {
|
|
|
- confirmButtonText: "确定",
|
|
|
- type: "warning",
|
|
|
- callback: action => {
|
|
|
- console.log(action);
|
|
|
- }
|
|
|
- });
|
|
|
- } else {
|
|
|
- console.log(row);
|
|
|
- this.params.corpId = row.corpId;
|
|
|
- this.params.itemId = row.goodsId;
|
|
|
- this.params.storageId = row.storageId;
|
|
|
- this.$router.$avueRouter.closeTag("/tirePartsMall/inventory/detail");
|
|
|
+ if (this.verifyTags("库存账明细")) {
|
|
|
this.$router.push({
|
|
|
path: "/tirePartsMall/inventory/detail",
|
|
|
query: {
|