| 
					
				 | 
			
			
				@@ -291,7 +291,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             size="mini" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             type="text" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             icon="el-icon-edit" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            @click="check(scope.row, true)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @click="check_s(scope.row, true)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             v-hasPermi="['warehouseBusiness:stockTransfer:query']" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             >查看 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-button> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -3187,7 +3187,84 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.title = "调拨单"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.formBrowseStatus = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    check_s(row,status,res){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.disappear = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.notChange = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.browseStatus = status; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.reset(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.detailsHidden = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let data = row || this.ids; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      getStockTransfer(data.fId).then((response) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        console.log(response.data.corps[0].createBy) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.Operator = response.data.corps[0].createBy 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (response.data.warehousebills) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.form = response.data.warehousebills; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.$set(this.form, "fEta", Date.parse(this.form.fEta)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.$set(this.form, "fStltypeid", this.form.fStltypeid + ''); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.$set(this.form, 'fFeetunit', Number(this.form.fFeetunit)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          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)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (response.data.corps) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.fMblnoOptions = response.data.corps; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.KHblnoOptions = response.data.corps; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.fSbuOptions = response.data.corps; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (response.data.feesList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.fWbuOptions = response.data.feesList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (response.data.warehouse) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.warehouseOptions = response.data.warehouse; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (response.data.warehouseBillsItem) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.dataList = response.data.warehouseBillsItem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          for (let list in this.dataList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (!this.form.fMblno) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.$set(this.form, "fMblno", this.dataList[list].fMblno); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (this.dataList[list].fBillstatus >= 6) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.formBrowseStatus = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$set(this.dataList[list], "fBsdate", Date.parse(this.dataList[list].fBsdate)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (response.data.enclosures) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.relevantAttachments = response.data.enclosures; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (response.data.warehouse) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.warehouseDrList = response.data.warehousebillsfeesDr; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (response.data.warehousebillsfeesCr) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.warehouseCrList = response.data.warehousebillsfeesCr; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (response.data.sysUser) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.userVal = response.data.sysUser 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.userOptions = response.data.sysUser; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (response.data.dept) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.deptOptions = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.deptOptions.push(response.data.dept) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (response.data.feesList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.fWbuOptions = response.data.feesList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (response.data.goodsList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.goodsOptions = response.data.goodsList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (response.data.warehouse) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.warehouseOptions = response.data.warehouse; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (response.data.warehouseAreas) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.kqhouseOptions = response.data.warehouseAreas; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.open = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.title = "修改调拨"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     check(row,status,res){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.disappear = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.notChange = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.browseStatus = status; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.reset(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -3359,12 +3436,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     changefWarehouseid(row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       for (let corp in this.warehouseOptions) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (row.fWarehouseid === this.warehouseOptions[corp].fId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.$set( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.form, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "fContacts", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.warehouseOptions[corp].createBy 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.$set(this.form, "fTel", this.warehouseOptions[corp].fTotalgross); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // this.$set( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //   this.form, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //   "fContacts", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //   this.warehouseOptions[corp].createBy 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // this.$set(this.form, "fTel", this.warehouseOptions[corp].fTotalgross); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.fAddr = this.warehouseOptions[corp].fAddr; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 |