| 
					
				 | 
			
			
				@@ -100,6 +100,13 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<!-- <u-form-item label="优惠金额" prop="cname" borderBottom>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							<u-input type="number" v-model="formTwo.thisUsedProfit" border="none" inputAlign="right" placeholder="请输入" disabledColor="#ffffff" @blur="discount(0)"/>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						</u-form-item> -->
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<u-form-item label="订单金额" prop="cname" borderBottom>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<u-input type="number" v-model="formTwo.costAmount" border="none" inputAlign="right" placeholder="请输入"
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								disabled disabledColor="#ffffff" />
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						</u-form-item>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<u-form-item label="优惠金额" prop="cname" borderBottom>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<u-input type="number" v-model="formTwo.thisUsedProfit" border="none" inputAlign="right" placeholder="请输入" disabledColor="#ffffff" @blur="discount(0)"/>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						</u-form-item>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<u-form-item label="应收金额" prop="cname" borderBottom>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							<u-input type="number" v-model="formTwo.orderAmount" border="none" inputAlign="right"
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								placeholder="请输入" disabled disabledColor="#ffffff" />
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -326,7 +333,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					if (this.formTwo.thisUsedProfit < 0) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						return this.formTwo.thisUsedProfit = null
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					this.formTwo.orderAmount = (this.formTwo.purchaseAmount - this.formTwo.thisUsedProfit).toFixed(2)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					this.formTwo.orderAmount = (this.formTwo.costAmount - this.formTwo.thisUsedProfit).toFixed(2)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					this.formTwo.currentAmount = this.formTwo.orderAmount
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					if (this.formTwo.orderAmount < 0) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						this.$set(this.formTwo, "orderAmount", null)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						this.$set(this.formTwo, "thisUsedProfit", null)
 
			 |