Commit 3edb499f by 杨北旺

售前权益Bug修复

1 parent 7b872158
......@@ -13,7 +13,7 @@
"el-tree-transfer": "^2.2.6",
"element-ui": "^2.4.5",
"glsx-common": "^1.4.6",
"glsx-components": "^1.3.2",
"glsx-components": "^1.3.5",
"lodash": "^4.17.21",
"vue": "^2.6.10",
"vue-router": "^3.1.3",
......
......@@ -459,7 +459,7 @@ export default {
label: '联系地址',
name: 'customerAddress',
type: 'input',
maxlength: 100
maxlength: 55
}
],
// 选择产品
......@@ -549,7 +549,7 @@ export default {
label: '店铺联系地址',
name: 'merchantAddress',
type: 'input',
maxlength: 100
maxlength: 55
}
],
// 公共数据
......
......@@ -20,7 +20,7 @@
<!-- 表格区域 开始 -->
<div class="table_wrapper">
<GLTable ref="equityRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<GLTable ref="equityRef" :pageSizes="sizeList" :paginationattrs="paginationattrs" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<div class="table-btns" slot="table-btns" slot-scope="scope">
<GLButton v-if="[2, 4, 5].includes(scope.scope.orderStatus)" fn="查看" type="text" @click="handleEdit(5, scope.scope)">查看</GLButton>
<!-- <el-button v-if="[2, 4, 5].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(5, scope.scope)">查看</el-button> -->
......@@ -70,6 +70,10 @@ export default {
name: 'equityList',
data() {
return {
// :page-size="100"
paginationattrs:{
'page-size':5
},
size: 'small',
noCancel: true,
isBlock: true,
......@@ -205,18 +209,16 @@ export default {
},
{
label: '提单成功时间',
line: 1,
width: '200px',
prop: 'successDate',
width: '160px',
formatter: cellValue => {
return cellValue.successDate ? dayjs(cellValue.successDate).format('YYYY-MM-DD HH:mm:ss') : '-'
}
},
{
label: '购车日期',
line: 1,
prop: 'billingDate',
width: '130px',
width: '200px',
formatter: cellValue => {
return cellValue.billingDate ? dayjs(cellValue.billingDate).format('YYYY-MM-DD') : '-'
}
......@@ -250,7 +252,6 @@ export default {
},
{
label: '无忧卡卡号',
line: 1,
prop: 'cardSeqNo',
width: '200px',
formatter: cellValue => {
......@@ -283,9 +284,8 @@ export default {
},
{
label: '无忧保障服务费',
line: 1,
prop: 'actualSalesPrice',
width: '160px',
width: '110px',
formatter: cellValue => {
return cellValue.actualSalesPrice ? (cellValue.actualSalesPrice / 100).toFixed(2) : '-'
}
......@@ -301,7 +301,7 @@ export default {
// },
{
label: '服务期限',
line: 1,
width: '200px',
prop: 'servicePeriod',
formatter: cellValue => {
return cellValue.servicePeriod ? `${cellValue.servicePeriod}年` : '-'
......@@ -309,16 +309,14 @@ export default {
},
{
label: '生效时间',
line: 1,
prop: 'effectiveDate',
width: '130px',
width: '200px',
formatter: cellValue => {
return cellValue.effectiveDate ? dayjs(cellValue.effectiveDate).format('YYYY-MM-DD') : '-'
}
},
{
label: '服务状态',
line: 1,
prop: 'orderStatus',
width: '100px',
formatter: cellValue => {
......@@ -366,15 +364,15 @@ export default {
// },
{
label: '省代',
line: 1,
prop: 'provinceMerchantName',
width: '200px',
formatter: cellValue => {
return cellValue.provinceMerchantName || '-'
}
},
{
label: '市代',
line: 1,
width: '200px',
prop: 'cityMerchantName',
formatter: cellValue => {
return cellValue.cityMerchantName || '-'
......@@ -398,6 +396,7 @@ export default {
}
]
},
sizeList:[5,10,20,30,40],
pageConf: { pageSize: 'pageCount', pageNum: 'pageSize', totalCount: 'total' },
// 公共数据
baseData: {
......@@ -471,6 +470,7 @@ export default {
// this.editNotify.code == '0' ? 1500 : 3000
// )
// }
this.$refs.equityRef.page.pageSize = 5
this.$apis.beforeSale.getProListApi({}).then(res => {
this.baseData.goodsStatusList = res
this.getOptionsList('searchFormData')
......@@ -580,7 +580,7 @@ export default {
apiParams: apiParams
}
if (title == '退单') {
this.$confirm('是否确认退单??', '退单', {
this.$confirm('是否确认退单?', '退单', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!