| | |
| | | |
| | | <el-row style="text-align: center; margin: 10px 0 0 0"> |
| | | <el-button type="primary" @click="submitBj">确认收款</el-button> |
| | | <el-button type="danger" @click="cancelSubmit">取消</el-button> |
| | | </el-row> |
| | | </el-dialog> |
| | | </div> |
| | |
| | | img: '/images/pay/card.png', |
| | | isActive: false, |
| | | type: '储值卡' |
| | | },{ |
| | | value: '欠款', |
| | | img: '/images/pay/qian.png', |
| | | isActive: false, |
| | | type: '欠款' |
| | | },], |
| | | moneyCards : [], |
| | | dialogSettleVisible : true, |
| | |
| | | } |
| | | }); |
| | | }, |
| | | cancelSubmit() { |
| | | this.closeFrame(); |
| | | }, |
| | | print() { |
| | | let _this = this; |
| | | if (_this.order.id) { |
| | |
| | | title: "打印订单", |
| | | area: ['250px', '550px'], |
| | | maxmin: true, |
| | | content: [basePath + '/admin/redirect/hive/beautySalon/print-order?id=' + this.order.id], |
| | | content: [basePath + '/admin/order/printOrder?id=' + this.order.id], |
| | | cancel: function (index, layero) { |
| | | _this.closeFram(); |
| | | } |
| | |
| | | } |
| | | } else { |
| | | Vue.set(item,'isActive',true); |
| | | var hasAmount = 0; |
| | | for(var i = 0; i < payMoneys.length; i++) { |
| | | hasAmount += parseFloat(payMoneys[i].money); |
| | | } |
| | | if (_this.order.arrears - hasAmount > 0) { |
| | | Vue.set(item, 'money', _this.order.arrears - hasAmount); |
| | | } |
| | | _this.payMoneys.push(item); |
| | | } |
| | | }); |