Commit 8c67e15b by 杨北旺

v1.1.1修复bug

1 parent 35d57a69
......@@ -204,7 +204,8 @@
<div class="mar-10"></div>
<el-button v-if="routeInfo.addOrEdit != '5'" type="primary" size="small" @click="handleConfirm">{{ routeInfo.addOrEdit != '3' ? '提单' : '确定' }}</el-button>
<div class="mar-10"></div>
<el-button size="small" @click="handleCancel">取消</el-button>
<el-button v-if="routeInfo.addOrEdit!=5" size="small" @click="handleCancel">返回</el-button>
<el-button v-else size="small" type="primary" @click="handleCancel">返回</el-button>
</div>
</div>
......
......@@ -45,7 +45,7 @@
</div>
<el-button size="small" @click="openActiveModal" class="custom_blue">选择活码</el-button>
</div>
<div v-if="settingData.liveCodeUrl" class="box">
<div v-if="settingData.liveCodeUrl || this.activeId" class="box">
<div class="radio_title">
<el-radio v-model="wayRadio" :label="2">加企微领取</el-radio>
</div>
......@@ -86,28 +86,6 @@
<div slot="qrCode" slot-scope="scope">
<el-radio v-model="activeId" :label="scope.scope.qrCode" @change="selectActived($event, scope.scope)">&nbsp;</el-radio>
</div>
<div slot="staffInfo" slot-scope="scope">
<el-popover trigger="hover" placement="top" v-if="scope.scope.staffInfo.length > 3">
<div class="accountType-row" v-for="(item, index) in scope.scope.staffInfo" :key="index">
<i class="el-icon-user-solid"></i>
{{ item.staffName }}
</div>
<div slot="reference" class="name-wrapper">
<div v-for="(item, index) in scope.scope.staffInfo" :key="index" v-show="index < 4">
<div class="accountType-row">
<i class="el-icon-user-solid"></i>
{{ index == 3 && scope.scope.staffInfo.length > 3 ? '...(' + scope.scope.staffInfo.length + ')' : item.staffName }}
</div>
</div>
</div>
</el-popover>
<div v-for="(item, index) in scope.scope.staffInfo" :key="index" v-else>
<div class="accountType-row">
<i class="el-icon-user-solid"></i>
{{ item.staffName }}
</div>
</div>
</div>
<div slot="tagging" slot-scope="scope" class="tag-panel">
<el-popover trigger="hover" placement="top" v-if="scope.scope.taggingList && scope.scope.taggingList.length > 3">
<div :title="item.name" class="accountType-row accountType-row-tag" v-for="(item, index) in scope.scope.taggingList" :key="index">
......@@ -204,10 +182,8 @@ export default {
},
{
label: '使用专员',
prop: 'staffInfo',
prop: 'staffName',
width: '130px',
addHtml: 'staffInfo',
align: 'left'
},
{
label: '标签',
......@@ -332,6 +308,7 @@ export default {
this.$apis.beforeSale.activeCodeList(para).then(res => {
this.tableData = res.data
this.tableData.forEach(item => {
item.tagging = item.tagging || []
this.$set(item, 'taggingList', [])
const tagging = eval(item.tagging)
tagging.forEach(itm => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!