| 
					
				 | 
			
			
				@@ -607,7 +607,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 style="width: 100%" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 v-model="form.remark" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 type="textarea" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :disabled="browseStatus || formBrowseStatus" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                :disabled="browseStatus" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 placeholder="请输入内容" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-form-item> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2888,13 +2888,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 仓储类型 入库时选择 产地 规格 品牌 所用,对应storage_type 字典 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       fStorageTypeOptions: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 计费单位(数据字典),下拉选择毛重或净重字典 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      fFeetunitOptions: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { dictLabel: "件数", dictValue: "1" }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { dictLabel: "毛重", dictValue: "2" }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { dictLabel: "净重", dictValue: "3" }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { dictLabel: "尺码", dictValue: "4" }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { dictLabel: "固定", dictValue: "5" }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      fFeetunitOptions: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 结算方式(数据字典),下拉选择字典 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       fStltypeOptions: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 是否过磅(数据字典)默认 F ,过磅T 否者F 下拉选择字典 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -3053,6 +3047,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.getDicts("sys_common_status").then((response) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.fBillstatusOptions = response.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.getDicts("data_unitfees").then((response) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.fFeetunitOptions = response.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   activated() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.adoPt() 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -3378,6 +3375,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // if (!this.form.fId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //   this.form.fId = this.fid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if(this.form.fFeetunit > 3){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.$message.error('请维护主表计费单位为件数、毛重或净重') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          return false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (!this.form.fBusinessType) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.$message.error('请选择货物属性!') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           return false 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -3627,12 +3628,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (let list in this.warehouseDrList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          if (this.warehouseDrList[list].fFeeUnitid === 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$set(this.warehouseDrList[list], "fQty", this.fQty.toFixed(2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } else if (this.warehouseDrList[list].fFeeUnitid === 2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$set(this.warehouseDrList[list], "fQty", this.fGrossweight.toFixed(2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } else if (this.warehouseDrList[list].fFeeUnitid === 3) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$set(this.warehouseDrList[list], "fQty", this.fNetweight.toFixed(2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (this.warehouseDrList[list].fFeeUnitid === "1") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$set(this.warehouseDrList[list], "fQty", (this.fQty/1000).toFixed(2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } else if (this.warehouseDrList[list].fFeeUnitid === "2") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$set(this.warehouseDrList[list], "fQty", (this.fGrossweight/1000).toFixed(2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } else if (this.warehouseDrList[list].fFeeUnitid === "3") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$set(this.warehouseDrList[list], "fQty", (this.fNetweight/1000).toFixed(2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.$set(this.warehouseDrList[list], "fQty", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -3665,12 +3666,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (let list in this.warehouseCrList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          if (this.warehouseCrList[list].fFeeUnitid === 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$set(this.warehouseCrList[list], "fQty", this.fQty.toFixed(2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } else if (this.warehouseCrList[list].fFeeUnitid === 2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$set(this.warehouseCrList[list], "fQty", this.fGrossweight.toFixed(2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } else if (this.warehouseCrList[list].fFeeUnitid === 3) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$set(this.warehouseCrList[list], "fQty", this.fNetweight.toFixed(2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (this.warehouseCrList[list].fFeeUnitid === "1") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$set(this.warehouseCrList[list], "fQty", (this.fQty/1000).toFixed(2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } else if (this.warehouseCrList[list].fFeeUnitid === "2") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$set(this.warehouseCrList[list], "fQty", (this.fGrossweight/1000).toFixed(2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } else if (this.warehouseCrList[list].fFeeUnitid === "3") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$set(this.warehouseCrList[list], "fQty", (this.fNetweight/1000).toFixed(2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.$set(this.warehouseCrList[list], "fQty", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -3858,7 +3859,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.form = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         fBusinessType: '常规入账', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           fItemsStatus: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fFeetunit: '2' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          fFeetunit:"2" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.browseStatus = status; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.queryUser(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -3936,6 +3937,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$set(this.form, "fBsdate", Date.parse(this.form.fBsdate)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$set(this.form, "fTrademodeid", this.form.fTrademodeid + ""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$set(this.form, "createTime", Date.parse(this.form.createTime)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$set(this.form, "fFeeUnitid", this.form.fFeeunitid + ""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$set(this.form, "fPlannetweight", this.form.fPlannetweight.toFixed(2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$set(this.form, "fPlangrossweight", this.form.fPlangrossweight.toFixed(2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (let list in this.dataList) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -4136,6 +4138,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     creditClick() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$refs['form'].validate((valid) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (let warehouseCr in this.Printinglist) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if(this.form.fFeetunit > 3){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$message.error('请维护主表计费单位为件数、毛重或净重') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if (!this.Printinglist[warehouseCr].fQty || this.Printinglist[warehouseCr].fQty === 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.$message.error("请维护入库件数"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return false; 
			 |