|  |  |  | 
|---|
|  |  |  | _this.order.payMoney += parseFloat(item.payMoney); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | //计算欠款 | 
|---|
|  |  |  | _this.order.arrears = _this.order.zkTotal - _this.order.payMoney; | 
|---|
|  |  |  | if (_this.order.arrears < 0) { | 
|---|
|  |  |  | _this.$message.error("支付金额不能大于应收金额"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // _this.order.arrears = _this.order.zkTotal - _this.order.payMoney; | 
|---|
|  |  |  | // if (_this.order.arrears < 0) { | 
|---|
|  |  |  | //     _this.$message.error("支付金额不能大于应收金额"); | 
|---|
|  |  |  | // } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | this.$message.warning("请输入" + item.type + "的付款金额"); | 
|---|
|  |  |  | return false; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | flow.amount = item.money; | 
|---|
|  |  |  | flow.amount = parseFloat(item.money); | 
|---|
|  |  |  | if (item.type == '储值卡'){ | 
|---|
|  |  |  | flow.isGift = item.isGift; | 
|---|
|  |  |  | flow.cardId = item.id; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | total += item.money; | 
|---|
|  |  |  | total += parseFloat(item.money); | 
|---|
|  |  |  | flows.push(flow) | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | if (total != _this.order.payMoney) { | 
|---|