|  | @@ -29,7 +29,7 @@
 | 
	
		
			
				|  |  |                      </span>
 | 
	
		
			
				|  |  |                      <template slot="nowExecutionQuan" slot-scope="text, record, index">
 | 
	
		
			
				|  |  |                          <a-form-model-item :prop="'dataSource.'+index+'.nowExecutionQuan'" class='sonItem' :rules="rules.nowExecutionQuan">
 | 
	
		
			
				|  |  | -                            <a-input-number placeholder="请输入" v-model="record.nowExecutionQuan"  style="width: 100%;"></a-input-number>
 | 
	
		
			
				|  |  | +                            <a-input-number placeholder="请输入" v-model="record.nowExecutionQuan"  style="width: 100%;" @blur="getNowAuxiliaryQuan(record)"></a-input-number>
 | 
	
		
			
				|  |  |                          </a-form-model-item>
 | 
	
		
			
				|  |  |                      </template> 
 | 
	
		
			
				|  |  |                      <span slot="nowAuxiliaryQuanTitle" class="form-table-heard">
 | 
	
	
		
			
				|  | @@ -37,7 +37,7 @@
 | 
	
		
			
				|  |  |                      </span>
 | 
	
		
			
				|  |  |                      <template slot="nowAuxiliaryQuan" slot-scope="text, record, index">
 | 
	
		
			
				|  |  |                          <a-form-model-item :prop="'dataSource.'+index+'.nowAuxiliaryQuan'" class='sonItem' :rules="rules.nowAuxiliaryQuan">
 | 
	
		
			
				|  |  | -                            <a-input-number placeholder="请输入" v-model="record.nowAuxiliaryQuan"  style="width: 100%;"></a-input-number>
 | 
	
		
			
				|  |  | +                            <a-input-number placeholder="请输入" v-model="record.nowAuxiliaryQuan"  style="width: 100%;"  @blur="getNowExecutionQuan(record)"></a-input-number>
 | 
	
		
			
				|  |  |                          </a-form-model-item>
 | 
	
		
			
				|  |  |                      </template> 
 | 
	
		
			
				|  |  |                  </a-table>
 | 
	
	
		
			
				|  | @@ -95,6 +95,12 @@
 | 
	
		
			
				|  |  |                      scopedSlots: { customRender: 'nowAuxiliaryQuan' } ,
 | 
	
		
			
				|  |  |                      slots:{title:'nowAuxiliaryQuanTitle'},
 | 
	
		
			
				|  |  |                  },
 | 
	
		
			
				|  |  | +                {
 | 
	
		
			
				|  |  | +                    title: '税率',
 | 
	
		
			
				|  |  | +                    align:"center",
 | 
	
		
			
				|  |  | +                    dataIndex: 'rate',
 | 
	
		
			
				|  |  | +                    ellipsis: true,
 | 
	
		
			
				|  |  | +                },
 | 
	
		
			
				|  |  |                  // {
 | 
	
		
			
				|  |  |                  //     title: '辅数量',
 | 
	
		
			
				|  |  |                  //     align:"center",
 | 
	
	
		
			
				|  | @@ -373,6 +379,20 @@
 | 
	
		
			
				|  |  |                  })
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  | +        //获取本次执行辅数量
 | 
	
		
			
				|  |  | +        getNowAuxiliaryQuan(record){
 | 
	
		
			
				|  |  | +            if(record.rate){
 | 
	
		
			
				|  |  | +                var num = (Number(record.nowExecutionQuan)*Number(record.rate)).toFixed(2)
 | 
	
		
			
				|  |  | +                this.$set(record,'nowAuxiliaryQuan',num)
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +         //获取本次执行主数量
 | 
	
		
			
				|  |  | +        getNowExecutionQuan(record){
 | 
	
		
			
				|  |  | +            if(record.rate){
 | 
	
		
			
				|  |  | +                var numUn = (Number(record.nowAuxiliaryQuan)/Number(record.rate)).toFixed(2)
 | 
	
		
			
				|  |  | +                this.$set(record,'nowExecutionQuan',numUn)
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  |          handleCancel(){
 | 
	
		
			
				|  |  |              this.visible = false
 | 
	
		
			
				|  |  |              this.selectedRowKeys = []
 |