| 
					
				 | 
			
			
				@@ -39,6 +39,15 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div v-if="MainTable == true"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <el-breadcrumb separator="/" style="display:flex;align-items: center;margin-bottom: 10px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-breadcrumb-item>仓库入库</el-breadcrumb-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-breadcrumb-item>仓库入库详情</el-breadcrumb-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-breadcrumb-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button plain size="mini" type="danger" icon="el-icon-arrow-left" @click="backRules"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            返回列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </el-breadcrumb-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </el-breadcrumb> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <MainForm 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ref="detailForm" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         :searchdata="detailOption" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -715,24 +724,43 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       detailButton:[ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   type:'danger', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   size:'mini', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   icon:'el-icon-refresh-left', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   name:'返回列表', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   disabled:false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type:'danger', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          size:'mini', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          icon:'el-icon-refresh-left', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          name:'返回列表', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          disabled:false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        },{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           type:'primary', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           size:'mini', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           icon:'el-icon-edit', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           name:'录入', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           disabled:false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        },{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           type:'success', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           size:'mini', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           icon:'el-icon-check', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           name:'保存', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           disabled:false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          type:'primary', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          size:'mini', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          icon:'el-icon-edit', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          name:'新增', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          plain: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          disabled:false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          type:'primary', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          size:'mini', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          icon:'el-icon-edit', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          name:'复制新增', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          copyeRow:true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          plain: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          disabled:false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         },{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           type:'info', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           size:'mini', 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -796,13 +824,16 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.selectMethods() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods:{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //返回列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    goBack(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     change(scope){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       for(let item in this.detailData){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for(let li in this.listData.fFeeid){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if(this.detailData[item].fFeeid == this.listData.fFeeid[li].value){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.$set(this.detailData[item],'fFeeunitid',JSON.stringify(this.listData.fFeeid[li].fFeeunitid)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.$set(this.detailData[item],'fCurrencyName',this.listData.fFeeid[li].fCurrency) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            console.log(this.detailData) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -920,7 +951,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           //获取付款单位 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           let queryParams = { pageNum: 1, fTypeid: 2} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           getustomer(queryParams).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            console.log(res) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             for(let item in res.data){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.detailOption[li].data.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 label:res.data[item].fName, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -942,7 +972,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if(this.detailOption[li].name == '采购人'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           getliable().then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            console.log(res) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             for(let item in res.rows){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.detailOption[li].data.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 label:res.rows[item].userName, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1034,7 +1063,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         userId: Cookies.get("userName"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       select(data).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log(res) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (data.tableName === '仓库入库详情') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if (res.data.length != 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.detailList.columnList = res.data.filter((e) => e.checked == 0); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1110,17 +1138,18 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for(let li in this.detailButton){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if(this.detailForm.fBillstatus == '6'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if(this.detailButton[li].name == '返回列表'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.detailButton[li].disabled = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(this.detailButton[li].name == '录入' || this.detailButton[li].name == '保存' || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.detailButton[li].name == '入库确认' || this.detailButton[li].name == '刷新' || this.detailButton[li].name == '修改'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.detailButton[li].disabled = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.detailButton[li].disabled = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if(this.detailButton[li].name == '返回列表' || this.detailButton[li].name == '修改' || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.detailButton[li].name == '打印' || this.detailButton[li].name == '刷新'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.detailButton[li].disabled = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(this.detailButton[li].name == '录入' || this.detailButton[li].name == '保存' || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.detailButton[li].name == '入库确认' || this.detailButton[li].name == '刷新'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.detailButton[li].disabled = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.detailButton[li].disabled = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1331,7 +1360,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.$refs.detailForm.saveRules() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           break 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         case '入库确认': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          console.log(this.detailData) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if(this.detailData.length == 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.$message.error("请维护明细") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }else{ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1376,11 +1404,18 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.detailOption[item].disabled = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               for(let li in this.detailButton) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (this.detailButton[li].name == '返回列表') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  this.detailButton[li].disabled = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if(this.detailButton[li].name == '录入' || this.detailButton[li].name == '保存' || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  this.detailButton[li].name == '入库确认' || this.detailButton[li].name == '刷新' || this.detailButton[li].name == '修改'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   this.detailButton[li].disabled = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  this.detailButton[li].disabled = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // if (this.detailButton[li].name == '返回列表' || this.detailButton[li].name == '新增' || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //   this.detailButton[li].name == '复制新增' || this.detailButton[li].name == '打印') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //   this.detailButton[li].disabled = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //   this.detailButton[li].disabled = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1404,18 +1439,26 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           break 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         case '复制新增': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          let formDate = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            fBilltype:'RK', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            fId:this.selection[0].fId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          copyNew(formDate).then(res=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if(res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.$message.success("操作成功") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.copyeId = res.data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.viewMethod(null,1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if(row.copyeRow){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(this.selection.length == 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.$message.error("请选择行") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.detailData = this.detailData.concat(this.selection) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let formDate = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              fBilltype:'RK', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              fId:this.selection[0].fId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            copyNew(formDate).then(res=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              if(res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$message.success("操作成功") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.copyeId = res.data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.viewMethod(null,1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           break 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         case '打印': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.formList = this.detailForm 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1456,8 +1499,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.copyeId = this.tableData[0].fId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.viewMethod(null,1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log("333") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log(this.tableData[0].fId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 |