mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-03 21:48:13 +08:00
后管充值本金
This commit is contained in:
@@ -320,14 +320,13 @@
|
|||||||
<!--@mbg.generated-->
|
<!--@mbg.generated-->
|
||||||
insert into member_wallet_log
|
insert into member_wallet_log
|
||||||
(member_id, `type`, sub_type, amount, category, related_order_code, before_amount,
|
(member_id, `type`, sub_type, amount, category, related_order_code, before_amount,
|
||||||
after_amount, create_by, create_time)
|
after_amount, create_by)
|
||||||
values
|
values
|
||||||
<foreach collection="list" item="item" separator=",">
|
<foreach collection="list" item="item" separator=",">
|
||||||
(#{item.memberId,jdbcType=VARCHAR}, #{item.type,jdbcType=VARCHAR}, #{item.subType,jdbcType=VARCHAR},
|
(#{item.memberId,jdbcType=VARCHAR}, #{item.type,jdbcType=VARCHAR}, #{item.subType,jdbcType=VARCHAR},
|
||||||
#{item.amount,jdbcType=DECIMAL}, #{item.category,jdbcType=CHAR}, #{item.relatedOrderCode,jdbcType=VARCHAR},
|
#{item.amount,jdbcType=DECIMAL}, #{item.category,jdbcType=CHAR}, #{item.relatedOrderCode,jdbcType=VARCHAR},
|
||||||
#{item.beforeAmount,jdbcType=DECIMAL}, #{item.afterAmount,jdbcType=DECIMAL},
|
#{item.beforeAmount,jdbcType=DECIMAL}, #{item.afterAmount,jdbcType=DECIMAL},
|
||||||
#{item.createBy,jdbcType=VARCHAR},
|
#{item.createBy,jdbcType=VARCHAR})
|
||||||
#{item.createTime,jdbcType=TIMESTAMP})
|
|
||||||
</foreach>
|
</foreach>
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertOrUpdate" keyColumn="id" keyProperty="id" parameterType="com.jsowell.pile.domain.MemberWalletLog"
|
<insert id="insertOrUpdate" keyColumn="id" keyProperty="id" parameterType="com.jsowell.pile.domain.MemberWalletLog"
|
||||||
|
|||||||
@@ -206,7 +206,7 @@
|
|||||||
<!-- 添加或修改会员余额对话框 -->
|
<!-- 添加或修改会员余额对话框 -->
|
||||||
<el-dialog title="会员充值/扣款" @close="closeUpdateBalance" :visible.sync="openUpdateBalance" width="500px"
|
<el-dialog title="会员充值/扣款" @close="closeUpdateBalance" :visible.sync="openUpdateBalance" width="500px"
|
||||||
append-to-body>
|
append-to-body>
|
||||||
<p>后管平台只能充值赠送余额,本金余额只能客户通过手机端充值</p>
|
<p>线下充值本金,客户直接在线下付款给商家</p>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||||
<el-form-item label="操作类型">
|
<el-form-item label="操作类型">
|
||||||
<el-radio v-model="type" label="1" border>充值</el-radio>
|
<el-radio v-model="type" label="1" border>充值</el-radio>
|
||||||
@@ -385,7 +385,7 @@ export default {
|
|||||||
resetBalance() {
|
resetBalance() {
|
||||||
console.log("重置 充值赠送金额相关");
|
console.log("重置 充值赠送金额相关");
|
||||||
this.openUpdateBalance = false;
|
this.openUpdateBalance = false;
|
||||||
this.updateBalance = "";
|
this.updatePrincipalBalance = "";
|
||||||
this.updateBalanceMemberId = "";
|
this.updateBalanceMemberId = "";
|
||||||
this.type = "1";
|
this.type = "1";
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user