|  |  | @ -75,12 +75,13 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-divider style="margin: 15px"></el-divider> |  |  |  |       <el-divider style="margin: 15px"></el-divider> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-table :data="dataList" style="width: 100%" v-loading="loading" border highlight-current-row |  |  |  |       <el-table :data="dataList" style="width: 100%" v-loading="loading" border highlight-current-row | 
			
		
	
		
		
			
				
					
					|  |  |  |                 :row-class-name="tableRowClassName" @current-change="handleChange" ref="multipleTable"> |  |  |  |                 :row-class-name="tableRowClassName" @current-change="handleChange"   @selection-change="handleSelectionChange" ref="multipleTable"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label width="45"> |  |  |  |         <!--<el-table-column label width="45">--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <template slot-scope="scope"> |  |  |  |         <!--  <template slot-scope="scope">--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <el-radio :label="scope.row.id" v-model="radioCheck"><span></span></el-radio> |  |  |  |         <!--    <el-radio :label="scope.row.id" v-model="radioCheck"><span></span></el-radio>--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           </template> |  |  |  |         <!--  </template>--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         </el-table-column> |  |  |  |         <!--</el-table-column>--> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <el-table-column  type="selection"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="序号" type="index"></el-table-column> |  |  |  |         <el-table-column label="序号" type="index"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="最小销售产品标识" prop="nameCode" width="140" show-overflow-tooltip></el-table-column> |  |  |  |         <el-table-column label="最小销售产品标识" prop="nameCode" width="140" show-overflow-tooltip></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="第三方物资编码" prop="thirdId" show-overflow-tooltip></el-table-column> |  |  |  |         <el-table-column label="第三方物资编码" prop="thirdId" show-overflow-tooltip></el-table-column> | 
			
		
	
	
		
		
			
				
					|  |  | @ -186,6 +187,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         keys: [], |  |  |  |         keys: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       ids: [], |  |  |  |       ids: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       lists:[], | 
			
		
	
		
		
			
				
					
					|  |  |  |       radioCheck: null, |  |  |  |       radioCheck: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |       dataList: [], |  |  |  |       dataList: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |       pageTotal: 1, |  |  |  |       pageTotal: 1, | 
			
		
	
	
		
		
			
				
					|  |  | @ -197,6 +199,13 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       thirdSysFk: null, |  |  |  |       thirdSysFk: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |       busTypes: [], |  |  |  |       busTypes: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |       actDateRange: [], |  |  |  |       actDateRange: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       tQuery : { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         productId:"", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         productName: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         count: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         orderIdFk: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         supId:"", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       pickerOptions: { |  |  |  |       pickerOptions: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         shortcuts: [ |  |  |  |         shortcuts: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { |  |  |  |           { | 
			
		
	
	
		
		
			
				
					|  |  | @ -297,6 +306,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     getList() { |  |  |  |     getList() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.loading = true; |  |  |  |       this.loading = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.listQuery.customerId = store.getters.customerId; |  |  |  |       this.listQuery.customerId = store.getters.customerId; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.listQuery.id = this.pId; | 
			
		
	
		
		
			
				
					
					|  |  |  |       filterCompanyProductplanRelevance(this.listQuery) |  |  |  |       filterCompanyProductplanRelevance(this.listQuery) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then((response) => { |  |  |  |         .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.loading = false; |  |  |  |           this.loading = false; | 
			
		
	
	
		
		
			
				
					|  |  | @ -318,10 +328,23 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     intentBack() { |  |  |  |     intentBack() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.closeDialog(); |  |  |  |       this.closeDialog(); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |     handleSelectionChange(val){ | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.lists=[]; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       for (var i=0;i<val.length;i++){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.tQuery={} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.tQuery.productId= val[i].id; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.tQuery.supId=val[i].customerId; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.tQuery.productName=val[i].cpmctymc; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.tQuery.count=1; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.tQuery.orderIdFk=this.pId; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.tQuery.zczbhhzbapzbh=val[i].zczbhhzbapzbh; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.lists.push(this.tQuery) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       console.log(this.lists) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     confirmSelect() { |  |  |  |     confirmSelect() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (this.multipleSelection == null) { |  |  |  |       if (this.lists == null) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         this.$message.error('未选择产品'); |  |  |  |         this.$message.error('未选择产品'); | 
			
		
	
		
		
			
				
					
					|  |  |  |         return; |  |  |  |         return; | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
	
		
		
			
				
					|  |  | @ -336,27 +359,19 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       let str = this.multipleSelection.zczbhhzbapzbh; |  |  |  |       // let str = this.multipleSelection.zczbhhzbapzbh; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       if (str.search(",") != -1) { |  |  |  |       // if (str.search(",") != -1) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         this.currentCert = null; |  |  |  |       //   this.currentCert = null; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         this.certList = str.split(','); |  |  |  |       //   this.certList = str.split(','); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         this.dialogFormVisible = true; |  |  |  |       //   this.dialogFormVisible = true; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       } else { |  |  |  |       // } else { | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         this.combine(); |  |  |  |         this.combine(); | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       // } | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     combine() { |  |  |  |     combine() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.loading = true; |  |  |  |       this.loading = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |       let tQuery = { |  |  |  |       addApplyDetail(this.lists).then((response) => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         productId: this.multipleSelection.id, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         productName: this.multipleSelection.cpmctymc, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         count: 1, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         orderIdFk: this.pId, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         supId: this.multipleSelection.customerId, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         zczbhhzbapzbh: this.multipleSelection.zczbhhzbapzbh |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       addApplyDetail(tQuery).then((response) => { |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         this.loading = false; |  |  |  |         this.loading = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (response.code === 20000) { |  |  |  |         if (response.code === 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.closeDialog(response.data); |  |  |  |           this.closeDialog(response.data); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |