| 
					
				 | 
			
			
				@@ -79,7 +79,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     </div> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <div style="width: 25%;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        <el-form-item label="签证费用:" prop="visaPrice" label-width="160px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <el-form-item label="签证费用:"  prop="visaCurrency" label-width="160px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             <el-input-number style="width:52%" :precision="2" placeholder="付款金额" v-model="OpVisaPriceData.visaPrice" :controls='false'> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             </el-input-number> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             <!-- <el-input placeholder="签证费用" v-model="OpVisaPriceData.visaPrice" style="width: 58%;"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -155,7 +155,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <div style="width: 25%;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        <el-form-item label="付款金额:" prop="payMoney" label-width="160px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <el-form-item label="付款金额:" label-width="160px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             <el-input placeholder="付款金额" v-model="OpVisaPriceData.visaPrice" style="width: 52%;" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 :disabled="true"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             </el-input> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -377,6 +377,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     { required: true, message: '请输入消费方式', trigger: ['blur', 'change'] }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                visaCurrency:[{ required: true, message: '选择币种', trigger: ['blur', 'change'] },], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 consumptionDate: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     { required: true, message: '请选择消费日期', trigger: ['blur', 'change'] }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 ], 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -505,6 +506,14 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.OpVisaPriceData.visaNumber = val.length; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             console.log(this.ClientFormat(this.OpVisaPriceData.visaClient)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //处理日期 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        getdate(val){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            var date=new Date(val); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            var y=date.getFullYear(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            var m=date.getMonth()+1<10?'0'+(date.getMonth()+1):date.getMonth()+1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            var d=date.getDate()<10?'0'+date.getDate():date.getDate(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return y+'-'+m+'-'+d 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //获取团组客户名单 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         QueryClientInfoByDIID() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             var url = "/api/Groups/QueryClientInfoByDIID" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -570,12 +579,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //验证人数W 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         verifytoll() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            console.log(Number(this.OpVisaPriceData.visaNumber) + Number(this.OpVisaPriceData.visaFreeNumber) > this.OpVisaPriceData.visaClient.length) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (Number(this.OpVisaPriceData.visaNumber) + Number(this.OpVisaPriceData.visaFreeNumber) > this.OpVisaPriceData.visaClient.length) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.$message.error("请检查人数"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                this.OpVisaPriceData.visaClient = this.ClientFormat(this.OpVisaPriceData.visaClient); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         addBtn() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -589,7 +595,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     const that = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     that.$refs.OpVisaPriceData.validate((valid) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         if (valid) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            debugger 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             that.OpVisaPriceData.createUserId = that.userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             if (that.OpVisaPriceData.ctdId == '') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 that.OpVisaPriceData.ctdId = 0 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -602,7 +607,33 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 headers: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     Authorization: 'Bearer ' + that.token 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                data: that.OpVisaPriceData 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                data:{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    status:that.OpVisaPriceData.id?2:1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    id:that.OpVisaPriceData.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    diId:that.OpVisaPriceData.diId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    visaClient:that.ClientFormat(that.OpVisaPriceData.visaClient), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    visaPrice:that.OpVisaPriceData.visaPrice, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    visaCurrency:that.OpVisaPriceData.visaCurrency, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    isThird:that.OpVisaPriceData.isThird, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    passengerType:that.OpVisaPriceData.passengerType, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    visaNumber:that.OpVisaPriceData.visaNumber, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    visaFreeNumber:that.OpVisaPriceData.visaFreeNumber, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    createUserId:that.OpVisaPriceData.createUserId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    remark:that.OpVisaPriceData.remark, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    payDId:that.OpVisaPriceData.payDId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    consumptionPatterns:that.OpVisaPriceData.consumptionPatterns, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    consumptionDate:that.getdate(that.OpVisaPriceData.consumptionDate), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    ctdId:that.OpVisaPriceData.ctdId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    companyBankNo:that.OpVisaPriceData.companyBankNo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    otherBankName:that.OpVisaPriceData.otherBankName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    otherSideNo:that.OpVisaPriceData.otherSideNo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    otherSideName:that.OpVisaPriceData.otherSideName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    bankNo:that.OpVisaPriceData.bankNo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    cardholderName:that.OpVisaPriceData.cardholderName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    payee:that.OpVisaPriceData.payee, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    orbitalPrivateTransfer:that.OpVisaPriceData.orbitalPrivateTransfer, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    cRemark:that.OpVisaPriceData.cRemark 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                } , 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             }).then(function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 if (res.data.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     that.$message({ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -690,7 +721,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.userId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.initializeSelect(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.QueryRate(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.OpVisaPriceData.id = this.$route.query.id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.OpVisaPriceData.id = this.$route.query.id?this.$route.query.id:0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.QueryClientInfoByDIID() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (this.OpVisaPriceData.id != null && this.OpVisaPriceData.id != undefined && this.OpVisaPriceData.id != 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.QueryVisaById(); 
			 |