Commit 229f2785 by 张权

编辑时员工赠送传details

1 parent a51d4838
...@@ -580,6 +580,11 @@ export default { ...@@ -580,6 +580,11 @@ export default {
delete params.couponList delete params.couponList
if (this.routeInfo.addOrEdit == 'edit') { if (this.routeInfo.addOrEdit == 'edit') {
params.id = this.routeInfo.id params.id = this.routeInfo.id
if (this.editForm.receiveRule == 2) {
let telArr = []
this.editForm.receiveDetails && (telArr = this.editForm.receiveDetails.split(','))
params.receiveDetailList = [...telArr]
}
} }
params.requestSource = 1 params.requestSource = 1
// 插入判断是否存在审批模板 // 插入判断是否存在审批模板
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<div class="wrap"> <div class="wrap">
<p class="dialog-tip">请先和客户沟通在确认,避免引起客诉,作废后客户将不可使用该礼包下所有优惠卷</p> <p class="dialog-tip">请先和客户沟通在确认,避免引起客诉,作废后客户将不可使用该礼包下所有优惠卷</p>
<div style="display:flex;"> <div style="display:flex;">
<label style="white-space:nowrap;" for="">作废原因:</label> <label class="label" for="">作废原因:</label>
<el-input type="textarea" v-model="reason" maxlength="50" placeholder="请输入作废原因"></el-input> <el-input type="textarea" v-model="reason" maxlength="50" placeholder="请输入作废原因"></el-input>
</div> </div>
</div> </div>
...@@ -512,6 +512,13 @@ export default { ...@@ -512,6 +512,13 @@ export default {
.dialog-tip { .dialog-tip {
margin-bottom: 20px; margin-bottom: 20px;
} }
.label {
white-space: nowrap;
margin-top: 6px;
}
.el-textarea__inner {
height: 72px;
}
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!