| | |
| | | <el-col :span="15"> |
| | | <el-row style="line-height: 50px;" v-for="(item, index) in payMoneys"> |
| | | <el-col :span="6" style="text-align: right; padding-right: 10px; font-size: 12px;">{{item.value}}</el-col> |
| | | <el-col :span="8"><el-input v-model.number="item.money"></el-input></el-col> |
| | | <el-col :span="8"><el-input v-model="item.money"></el-input></el-col> |
| | | <el-col :span="6" style="margin-left: 10px;" v-if="item.type == '储值卡'">{{item.isGift == 1 ? '赠送余额' : '余额' }}:<span class="arrears">¥ {{item.balance}}</span></el-col> |
| | | </el-row> |
| | | </el-col> |
| | |
| | | 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) { |