Browse Source

出库检斤id传参修改

zhongtianhaoyuan 3 năm trước cách đây
mục cha
commit
85a1d11752

+ 0 - 3
src/views/houseSelfCollect/inspectionManagementrecord.vue

@@ -195,9 +195,6 @@
       },
       closePrint() {
         this.isShowPrint = false
-        this.$router.push({
-          path: 'inspectionManagement'
-        })
       },
       find() {
         this.getList()

+ 1 - 1
src/views/houseSelfCollect/newWeighingManagement.vue

@@ -654,7 +654,7 @@
         getweighingList({
             compId: localStorage.getItem('ws-pf_compId'),
             currentPage: this.currentPage,
-            pageSize: 99,
+            pageSize: this.pageSize,
             searchKeyWord: '',
             warehouseName: this.warehouseName,
             managementType: 1,

+ 7 - 1
src/views/outboundManagement/weighingManagementNew.vue

@@ -454,6 +454,7 @@
         })
       },
       closePrint() {
+        debugger
         this.isShowPrint = false
       },
       printSmall() {
@@ -930,6 +931,8 @@
               this.weighingList.skinInspector =
                 localStorage.getItem('ws-pf_staffName')
               if (this.weighingList.id) {
+                this.weighingList.id = this.weighingList.warehouseInOutId
+                  this.weighingList.warehouseInOutDetail.id = this.weighingList.warehouseInOutId 
                 addstorageputList(this.weighingList)
                   .toPromise()
                   .then((response) => {
@@ -992,7 +995,8 @@
                 this.weighingList.relationId = this.relationId
                 this.weighingList.warehouseId = this.warehouseId
                 this.weighingList.baseId = this.warehouseId
-                console.log(this.weighingList)
+                  this.weighingList.id = this.weighingList.warehouseInOutId
+                  this.weighingList.warehouseInOutDetail.id = this.weighingList.warehouseInOutId 
                 addstorageputList(this.weighingList)
                   .toPromise()
                   .then((response) => {
@@ -1094,6 +1098,8 @@
                 localStorage.getItem('ws-pf_staffName')
               this.weighingList.warehouseId = this.warehouseId
               this.weighingList.baseId = this.warehouseId
+                this.weighingList.id = this.weighingList.warehouseInOutId
+                  this.weighingList.warehouseInOutDetail.id = this.weighingList.warehouseInOutId 
               addstorageputList(this.weighingList)
                 .toPromise()
                 .then((response) => {