Commit 597b9896 by 张权

UI走查

1 parent 229f2785
......@@ -140,7 +140,7 @@ export default {
name: '',
remarkName: '',
// receiveWay: '1',
staffList: [{ staffUUID: 'e7cfc19a67ce4fb5ac89117de246dabe', staffName: '李崇源' }],
staffList: [],
// 优惠券类型(discountType) 1:满减券,2:折扣券,3:代金券,4:兑换券,5:购车代金券,6:商品折扣券,7:会员服务
// 优惠券状态(status):1:未生效,2:生效中,3:已失效
couponList: [],
......
......@@ -26,7 +26,8 @@
</div>
<div v-for="(item, index) in orderShow" :key="index">
<div class="gift-box" v-show="couponObj[item].list.length">
<div class="gift-label">{{ couponObj[item].label }}:</div>
<!-- <div class="gift-label">{{ couponObj[item].label }}:</div> -->
<img class="server-type" :src="require(`@/assets/coupon/icon-${item}.png`)" />
<div class="gift-content">
<div class="gift-item" v-for="(subItem, subIndex) in couponObj[item].list" :key="subIndex">
<span :class="['circle', subItem.status == '3' ? ' grey' : '']"></span>
......@@ -37,7 +38,12 @@
</div>
</div>
</div>
<div slot="receiveDetails">{{ editForm.receiveWay == '1' ? '指定手机号' : '指定车架号后6位' }}:{{ editForm.receiveDetails }}</div>
<div slot="receiveDetails">
<span style="border: 1px dashed #333;">{{ editForm.receiveWay == '1' ? '指定手机号' : '指定车架号后6位' }}:</span>
<div class="phone-wrap">
<span class="phone" v-for="(item,id) in receiveDetailList" :key="id">{{item}}</span>
</div>
</div>
<div slot="staffListBlock" class="sale-select" v-show="editForm.staffList && editForm.staffList.length != 0">
<div :key="key" class="el-input-tag input-tag-wrapper-detail">
<el-tag effect="plain" type="info" v-for="(tag, idx) in editForm.staffList" :key="idx" :disable-transitions="false" @close="handleStaffRemove(tag, idx)">
......@@ -80,6 +86,7 @@ export default {
footerWidth: '0',
loading: false,
editChildRef: 'editChildRef',
receiveDetailList:[],
routeInfo: {
// add-新增;edit-编辑;detail-详情
addOrEdit: 'add',
......@@ -194,6 +201,9 @@ export default {
res.data.createdDate = dayjs(res.data.createdDate).format('YYYY-MM-DD HH:mm:ss')
res.data.updatedDate = dayjs(res.data.updatedDate).format('YYYY-MM-DD HH:mm:ss')
this.editForm = res.data
let arr = []
res.data.receiveDetails && (arr=res.data.receiveDetails.split(','))
this.receiveDetailList = [...arr]
this.approvalStatus = res.data.approveStatus - 1
this.recoveryCoupon()
this.recoveryTotalPrice()
......@@ -268,6 +278,11 @@ export default {
.gift-box {
display: flex;
padding: 10px 0 10px 10px;
.server-type {
margin: 4px 12px 0 0;
height: 23px;
width: 58px;
}
.gift-label {
width: 70px;
color: #999999;
......@@ -299,6 +314,20 @@ export default {
}
}
}
.phone-wrap{
width: 878px;
background-color: #F9F9F9;
padding: 5px 10px;
line-height: 14px;
font-size: 14px;
box-sizing: border-box;
margin-top: 5px;
.phone{
display: inline-block;
margin:5px 16px 5px 0;
border: 1px dashed #333;
}
}
// 发放员工
.sale-select {
display: flex;
......
......@@ -12,7 +12,7 @@
<div class="container">
<div>
<GLCombiForm @handleOk="handleSearch" @handleRest="handleReset" ref="showSearch" :formObj="searchForm" :formData="searchFormData"></GLCombiForm>
<GLButton style="float:right;margin-bottom:20px;" :size="size" class="default-blue-btn" type="default" fn="导出" @click="handleExport">导出</GLButton>
<GLButton style="float:right;margin-bottom:10px;" :size="size" class="default-blue-btn" type="default" fn="导出" @click="handleExport">导出</GLButton>
</div>
<!-- 表格区域 开始 -->
......@@ -132,7 +132,10 @@ export default {
getListApi: this.$apis.giftBag.getListApi,
tableParams: {
listName: 'list',
tableOption: true,
tableOption: {
width:120,
align:'center'
},
tableColumns: [
{
label: '',
......
......@@ -16,7 +16,7 @@
<!-- <GLButton :size="size" class="default-blue-btn" type="default" fn="已领取导出" @click="handleExport">导出</GLButton>
</span>
</glsx-combi-form> -->
<GLButton style="float:right;margin-bottom:20px;" :size="size" class="default-blue-btn" type="default" fn="已领取导出" @click="handleExport">导出</GLButton>
<GLButton style="float:right;margin-bottom:10px;" :size="size" class="default-blue-btn" type="default" fn="已领取导出" @click="handleExport">导出</GLButton>
</div>
<!-- 表格区域 开始 -->
......@@ -210,7 +210,10 @@ export default {
getListApi: this.$apis.giftBag.getReceivedGiftInfoApi,
tableParams: {
listName: 'list',
tableOption: true,
tableOption: {
width:100,
align:'center'
},
tableColumns: [
{
label: '',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!