From 393d296e43f0e5f11e524cab5446bcd3eee94e89 Mon Sep 17 00:00:00 2001 From: jyy <jyy> Date: Sat, 12 Jun 2021 17:47:38 +0800 Subject: [PATCH] 新增赠送项目是否计算消耗控制 --- zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/orderXq-form.html | 28 +++++++++++++++++++++++++--- 1 files changed, 25 insertions(+), 3 deletions(-) diff --git a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/orderXq-form.html b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/orderXq-form.html index 1982dfd..58db52c 100644 --- a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/orderXq-form.html +++ b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/orderXq-form.html @@ -314,9 +314,22 @@ prop="zkTotal" label="收款"> </el-table-column> + <el-table-column - prop="payMethod" - label="支付方式"> + label="支付方式" + width="130"> + <template slot-scope="scope"> + <el-select v-model="scope.row.payMethod" + placeholder="请选择支付方式"> + <el-option + v-for="item in itemSimplePayMethods" + :key="item.value" + :label="item.label" + :value="item.value" + :disabled="item.disabled"> + </el-option> + </el-select> + </template> </el-table-column> <el-table-column prop="t3" @@ -501,6 +514,13 @@ isRefund : false, isReturnAchieve : false, totalRefund : "", + itemSimplePayMethods:[{ + value: '现金', + label:'现金', + },{ + value: '划扣', + label:'划扣', + }], payMethods: [{ value: '现金支付', img: '/images/pay/cash.png', @@ -690,7 +710,9 @@ callback: function (data) { _this.isRefund = false; _this.dialogSettleVisible = false; - _this.queryOrderDetailData(_this.data.oldOrderId); + var param = {}; + param.id = _this.data.oldOrderId; + _this.queryOrderDetailData(param); } }); -- Gitblit v1.9.1