Browse Source

修改bug

web100 2 years ago
parent
commit
6589c7459c

+ 13 - 6
src/views/businessManagement/inventoryAccount/configuration/mainList.json

@@ -129,12 +129,19 @@
       "overHidden": true
     },
     {
+      "label": "金额",
+      "prop": "balanceAmount",
+      "index": 15,
+      "width": 120,
+      "overHidden": true
+    },
+    {
       "label": "库存均价",
       "prop": "stockPrice",
       "search": false,
-      "index": 14,
+      "index": 16,
       "width": 100,
-      "cell": true,
+      "cell": false,
       "overHidden": true
     },
     {
@@ -144,7 +151,7 @@
       "searchRange": true,
       "prop": "createTime",
       "search": false,
-      "index": 15,
+      "index": 17,
       "width": 100,
       "format": "yyyy-MM-dd",
       "valueFormat": "yyyy-MM-dd",
@@ -155,7 +162,7 @@
       "label": "创建人",
       "prop": "createUserName",
       "search": false,
-      "index": 16,
+      "index": 18,
       "width": 100,
       "overHidden": true
     },
@@ -163,7 +170,7 @@
       "label": "更新日期",
       "prop": "updateTime",
       "search": false,
-      "index": 17,
+      "index": 19,
       "width": 100,
       "overHidden": true
     },
@@ -171,7 +178,7 @@
       "label": "更新人",
       "prop": "updateUserName",
       "search": false,
-      "index": 18,
+      "index": 20,
       "width": 100,
       "overHidden": true
     }

+ 1 - 0
src/views/businessManagement/inventoryAccount/detail.vue

@@ -53,6 +53,7 @@ export default {
     this.params = {
       corpId: this.$route.query.corpId,
       itemId: this.$route.query.itemId,
+      storageId:this.$route.query.storageId
     }
     this.onLoad(this.page)
   },

+ 5 - 2
src/views/businessManagement/inventoryAccount/index.vue

@@ -153,7 +153,8 @@ export default {
       show: true,
       params: {
         corpId: null,
-        itemId: null
+        itemId: null,
+        storageId:null
       },
     }
   },
@@ -281,12 +282,14 @@ export default {
       } else {
         this.params.corpId = row.corpId
         this.params.itemId = row.goodsId
+        this.params.storageId = row.storageId
         this.$router.$avueRouter.closeTag("/businessManagement/inventoryAccount/detail");
         this.$router.push({
           path: "/businessManagement/inventoryAccount/detail",
           query: {
             corpId: row.corpId,
-            itemId: row.goodsId
+            itemId: row.goodsId,
+            storageId:row.storageId
           },
         });
       }

+ 2 - 1
src/views/businessManagement/purchaseOrder/configuration/customerContact.json

@@ -38,7 +38,8 @@
     },
     {
       "name": "cntrVolumn",
-      "type": "sum"
+      "type": "sum",
+      "decimals": 5
     }
   ],
   "column":[

+ 1 - 1
src/views/businessManagement/receipt/detailsPageEdit.vue

@@ -734,7 +734,7 @@ export default {
     } else if (this.detailData.form) {
       // console.log('1132452345', this.detailData.form);
       this.form = JSON.parse(this.detailData.form);
-      // console.log(this.form);
+      // console.log('324',this.form.cntrVolumn);
       this.$set(this.form, 'orgId', this.form.id);
       this.$set(this.form, 'srcId', this.form.id);
       this.$set(this.form,"purchaseMode",'现金采购');