Commit d9ff3fbf by chenwq

订单管理优化,众筹

1 parent 43448739
......@@ -496,19 +496,29 @@ export default {
tableOption: true,
tableColumns: [
{
label: '订单编号',
prop: 'orderCode',
width: '180'
label: '客户名称',
prop: 'customerName',
line: 2,
width: 180,
formatter: cellValue => {
return cellValue.customerName || '-'
}
},
{
label: '商户订单号',
prop: 'outTradeNo',
width: '160',
label: '手机号',
prop: 'customerPhone',
width: 130,
formatter: cellValue => {
return cellValue.outTradeNo || '-'
return cellValue.customerPhone || '-'
}
},
{
label: '微信名称',
prop: 'weChatName',
addHtml: 'weChatName',
width: 300
},
{
label: '订单时间',
prop: 'createdDate',
width: '180',
......@@ -533,29 +543,6 @@ export default {
}
},
{
label: '微信名称',
prop: 'weChatName',
addHtml: 'weChatName',
width: 300
},
{
label: '客户名称',
prop: 'customerName',
line: 2,
width: 180,
formatter: cellValue => {
return cellValue.customerName || '-'
}
},
{
label: '手机号',
prop: 'customerPhone',
width: 130,
formatter: cellValue => {
return cellValue.customerPhone || '-'
}
},
{
label: '车架号',
prop: 'vinNo',
width: 130,
......@@ -598,6 +585,12 @@ export default {
}
},
{
label: '其他信息',
prop: '',
width: '180',
line: 1
},
{
label: '活动名称',
prop: 'activityName',
width: '120'
......@@ -631,6 +624,19 @@ export default {
formatter: cellValue => {
return this.baseData.deliveryTypeList.map(item => item.confId).includes(cellValue.deliveryType + '') ? this.baseData.deliveryTypeList.find(item => item.confId == cellValue.deliveryType).confName : '-'
}
},
{
label: '订单编号',
prop: 'orderCode',
width: '180'
},
{
label: '商户订单号',
prop: 'outTradeNo',
width: '160',
formatter: cellValue => {
return cellValue.outTradeNo || '-'
}
}
]
},
......
<!-- 众筹活动 -->
<template>
<div class="edit-share marketing edit-box edit-activity" v-loading="loading">
<div class="container edit-container">
<!-- 基本信息 -->
<!-- 基本信息 -->
<div class="container edit-container" style="min-height: 520px !important;">
<p class="edit-title">基本信息</p>
<glsx-combi-form class="edit-form-container" ref="editFormRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule">
<div slot="activityImg" class="edit-tips m-t-8">展示在首页的活动详情页</div>
......@@ -67,7 +67,9 @@
</p>
</template>
</glsx-combi-form>
<!-- 活动配置 -->
</div>
<!-- 活动配置 -->
<div class="container edit-container crowd-config">
<p class="edit-title">活动配置</p>
<glsx-combi-form class="edit-form-container" ref="configEditFormRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="configEditFormData" :formRules="editRule">
<template slot="customerServiceFlag" slot-scope="scope">
......@@ -138,7 +140,8 @@
</div>
</glsx-combi-form>
</div>
<div class="wechat-box">
<!-- 展示 -->
<!-- <div class="wechat-box">
<img class="w-100-percent" src="@/assets/seckillActivity/phone.png" />
<div class="wechat-back">
<p class="wechat-name one-line-ellipsis">{{ editForm.activityName }}</p>
......@@ -186,7 +189,7 @@
</div>
<img class="wechat-footer" src="@/assets/seckillActivity/crowd-footer.png" />
</div>
</div>
</div> -->
<GLFooter>
<el-button @click="handleCancel" size="medium">{{ routeInfo.addOrEdit != 'detail' ? '取消' : '返回' }}</el-button>
<el-button v-if="routeInfo.addOrEdit != 'detail'" type="primary" @click="handleConfirm" size="medium" :loading="loading">提交</el-button>
......@@ -670,7 +673,7 @@ export default {
},
mounted() {
this.setMinHeight()
this.setMinHeight('.crowd-config')
this.routeInfo = this.$route.query
this.routeInfo.addOrEdit != 'add' ? this.getInfo() : this.getMerchantInfo()
var id = this.routeInfo.id
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!