|  | @@ -2138,7 +2138,13 @@
 | 
	
		
			
				|  |  |          style="box-shadow: 0 1px 3px rgba(0, 0, 0, 0) !important"
 | 
	
		
			
				|  |  |          :visible.sync="warehousingagreements"
 | 
	
		
			
				|  |  |          width="70%"
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        >
 | 
	
		
			
				|  |  | +        <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect">
 | 
	
		
			
				|  |  | +          <el-menu-item index="1">作业费</el-menu-item>
 | 
	
		
			
				|  |  | +          <el-menu-item index="2">劳务费</el-menu-item>
 | 
	
		
			
				|  |  | +        </el-menu>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          <el-table
 | 
	
		
			
				|  |  |            :data="tasklegList"
 | 
	
		
			
				|  |  |            ref="table"
 | 
	
	
		
			
				|  | @@ -2372,6 +2378,8 @@ export default {
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    data() {
 | 
	
		
			
				|  |  |      return {
 | 
	
		
			
				|  |  | +      activeIndex: '1',
 | 
	
		
			
				|  |  | +      activeIndex2: '1',
 | 
	
		
			
				|  |  |        //控制选择库位弹出
 | 
	
		
			
				|  |  |        choiceWarehouse:false,
 | 
	
		
			
				|  |  |        information:'',
 | 
	
	
		
			
				|  | @@ -2660,6 +2668,29 @@ export default {
 | 
	
		
			
				|  |  |    //   'form.fWarehouseid' : 'warehouseMethod'
 | 
	
		
			
				|  |  |    // },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  | +    handleSelect(key, keyPath) {
 | 
	
		
			
				|  |  | +      this.addAgreements(key)
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    // 新增付款作业费协议
 | 
	
		
			
				|  |  | +    addAgreements(kye) {
 | 
	
		
			
				|  |  | +      if (!this.form.fCorpid) {
 | 
	
		
			
				|  |  | +        this.$message({
 | 
	
		
			
				|  |  | +          message: "请维护货权方",
 | 
	
		
			
				|  |  | +          type: "warning",
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +      }else if(this.form.fProductName == undefined) {
 | 
	
		
			
				|  |  | +        this.$message({
 | 
	
		
			
				|  |  | +          message: "请维护入库明细品名",
 | 
	
		
			
				|  |  | +          type: "warning",
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +      } else {
 | 
	
		
			
				|  |  | +        this.whgenlegList = [];
 | 
	
		
			
				|  |  | +        this.dialogWhgenlegList = [];
 | 
	
		
			
				|  |  | +        this.whgenlegTotal = 0;
 | 
	
		
			
				|  |  | +        this.warehousingagreements = true;
 | 
	
		
			
				|  |  | +        this.getWhgenlegList(kye);
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      /** 查询部门下拉树结构 */
 | 
	
		
			
				|  |  |      getTreeselect(row) {
 | 
	
		
			
				|  |  |        this.treeselectList.fWarehouselocid = null
 |