ccjgmwz %!s(int64=3) %!d(string=hai) anos
pai
achega
2da438e675

+ 3 - 2
src/views/houseSelfCollect/weightCheckRecord.vue

@@ -369,6 +369,7 @@
       },
       print(row, type, pageType) {
         //打印
+        debugger
         if (type == 1) { //
           if (this.modification.length == 0) {
             this.$message.error('请选择批量打印的条目!')
@@ -376,7 +377,7 @@
           }
           for (let _num = 0; _num < this.modification.length; _num++) {
             if (this.modification[_num].serviceManagementType == 1 && (this.warehouseName == '鲅鱼圈金信库' || this
-                .warehouseName == '白城内陆港')) {
+                .warehouseName == '白城内陆港'|| this.warehouseName == '哈尔滨依兰库')) {
               if (this.modification[_num].seller && this.modification[_num].buyer) {
                 let cang = {}
                 cang.value = this.modification[_num].seller
@@ -395,7 +396,7 @@
           }
           this.isShowPrintType = true
         } else {
-          if (row.serviceManagementType == 1 && (this.warehouseName == '鲅鱼圈金信库' || this.warehouseName == '白城内陆港')) {
+          if (row.serviceManagementType == 1 && (this.warehouseName == '鲅鱼圈金信库' || this.warehouseName == '白城内陆港'|| this.warehouseName == '哈尔滨依兰库')) {
             if (row.seller && row.buyer) {
               let cang = {}
               cang.value = row.seller

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

@@ -1358,7 +1358,6 @@
         if (!data) return
         for (var i = 0; i < this.outContractNo.length; i++) {
           if (this.outContractNo[i].contractNo == this.weighingList.contractNo) {
-            this.weighingList.goodsName = this.outContractNo[i].goodsName
             this.weighingList.goodsName = this.outContractNo[i].goodsName
             if (this.weighingList.goodsName == '玉米(潮粮)') {
               this.weighingList.type = '潮粮'
@@ -1394,7 +1393,7 @@
                 'YKCK' +
                 this.getTime() +
                 this.warehouseNo +
-                num.substring(num.length - 4,num.length)
+                this.warehouseCount.substring(this.warehouseCount.length - 4,this.warehouseCount.length)
               this.weighingList.buyer = this.outContractNo[i].receiveWarehouse
               this.weighingList.seller = this.outContractNo[i].sendWarehouse
               this.weighingList.goodsName = data.goodsName