Commit 1cb2798a by 张权

去掉状态

1 parent ea171575
...@@ -24,13 +24,13 @@ ...@@ -24,13 +24,13 @@
<div class="table_wrapper"> <div class="table_wrapper">
<GLTable ref="equityRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"> <GLTable ref="equityRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<div class="table-btns" slot="table-btns" slot-scope="scope"> <div class="table-btns" slot="table-btns" slot-scope="scope">
<GLButton v-if="[2, 4, 5, 7, 8, 9, 10, 11].includes(scope.scope.orderStatus)" fn="查看" type="text" @click="handleEdit(5, scope.scope)">查看</GLButton> <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> --> <!-- <el-button v-if="[2, 4, 5].includes(scope.scope.orderStatus)" type="text" @click="handleEdit(5, scope.scope)">查看</el-button> -->
<el-button v-if="[2, 8, 10, 11].includes(scope.scope.orderStatus)" type="text" @click="handlePdf(scope.scope)">打印</el-button> <el-button v-if="[2].includes(scope.scope.orderStatus)" type="text" @click="handlePdf(scope.scope)">打印</el-button>
<GLButton v-if="[0].includes(scope.scope.orderStatus)" fn="编辑" type="text" @click="handleEdit(2, scope.scope)">编辑</GLButton> <GLButton v-if="[0].includes(scope.scope.orderStatus)" fn="编辑" type="text" @click="handleEdit(2, scope.scope)">编辑</GLButton>
<GLButton v-if="[2, 8, 10, 11].includes(scope.scope.orderStatus)" fn="修改" type="text" @click="handleEdit(3, scope.scope)">修改</GLButton> <GLButton v-if="[2].includes(scope.scope.orderStatus)" fn="修改" type="text" @click="handleEdit(3, scope.scope)">修改</GLButton>
<el-button v-if="[2, 8, 10, 11].includes(scope.scope.orderStatus)" type="text" @click="handleBack(scope.scope)">退单</el-button> <el-button v-if="[2].includes(scope.scope.orderStatus)" type="text" @click="handleBack(scope.scope)">退单</el-button>
<GLButton v-if="[1, 3, 4, 5].includes(scope.scope.orderStatus)" fn="重新提单" type="text" @click="handleEdit(4, scope.scope)">重新提单</GLButton> <GLButton v-if="[3, 4, 5].includes(scope.scope.orderStatus)" fn="重新提单" type="text" @click="handleEdit(4, scope.scope)">重新提单</GLButton>
</div> </div>
</GLTable> </GLTable>
</div> </div>
...@@ -371,15 +371,15 @@ export default { ...@@ -371,15 +371,15 @@ export default {
// return cellValue.actualSalesPrice ? (cellValue.actualSalesPrice / 100).toFixed(2) : '-' // return cellValue.actualSalesPrice ? (cellValue.actualSalesPrice / 100).toFixed(2) : '-'
// } // }
// }, // },
{ // {
label: '门店成本', // label: '门店成本',
prop: 'costPrice', // prop: 'costPrice',
width: '160px', // width: '160px',
line: 1, // line: 1,
formatter: cellValue => { // formatter: cellValue => {
return cellValue.costPrice ? (cellValue.costPrice / 100).toFixed(2) : '-' // return cellValue.costPrice ? (cellValue.costPrice / 100).toFixed(2) : '-'
} // }
}, // },
{ {
label: '服务期限', label: '服务期限',
line: 1, line: 1,
...@@ -405,42 +405,42 @@ export default { ...@@ -405,42 +405,42 @@ export default {
return this.baseData.orderStatusList.map(item => item.confId).includes(cellValue.orderStatus) ? this.baseData.orderStatusList.find(item => item.confId == cellValue.orderStatus).confName : '-' return this.baseData.orderStatusList.map(item => item.confId).includes(cellValue.orderStatus) ? this.baseData.orderStatusList.find(item => item.confId == cellValue.orderStatus).confName : '-'
} }
}, },
{ // {
label: '状态描述', // label: '状态描述',
prop: 'erpErrorMsg', // prop: 'erpErrorMsg',
width: '200px', // width: '200px',
line: 1, // line: 1,
formatter: cellValue => { // formatter: cellValue => {
return cellValue.erpErrorMsg ? cellValue.erpErrorMsg : '-' // return cellValue.erpErrorMsg ? cellValue.erpErrorMsg : '-'
} // }
}, // },
{ // {
label: '审核日期', // label: '审核日期',
prop: 'auditDate', // prop: 'auditDate',
width: '200px', // width: '200px',
line: 1, // line: 1,
formatter: cellValue => { // formatter: cellValue => {
return cellValue.auditDate ? dayjs(cellValue.auditDate).format('YYYY-MM-DD HH:mm:ss') : '-' // return cellValue.auditDate ? dayjs(cellValue.auditDate).format('YYYY-MM-DD HH:mm:ss') : '-'
} // }
}, // },
{ // {
label: '首续保', // label: '首续保',
prop: 'insuranceType', // prop: 'insuranceType',
width: '110px', // width: '110px',
line: 1, // line: 1,
formatter: cellValue => { // formatter: cellValue => {
return cellValue.insuranceType === 'i' ? '无忧卡首保' : '无忧卡续保' // return cellValue.insuranceType === 'i' ? '无忧卡首保' : '无忧卡续保'
} // }
}, // },
{ // {
label: '价格区间', // label: '价格区间',
prop: 'pricePeriod', // prop: 'pricePeriod',
width: '200px', // width: '200px',
line: 1, // line: 1,
formatter: cellValue => { // formatter: cellValue => {
return cellValue.pricePeriod ? cellValue.pricePeriod : '-' // return cellValue.pricePeriod ? cellValue.pricePeriod : '-'
} // }
}, // },
// { // {
// label: '审核状态', // label: '审核状态',
// prop: 'auditStatus', // prop: 'auditStatus',
...@@ -527,10 +527,10 @@ export default { ...@@ -527,10 +527,10 @@ export default {
confId: 0, confId: 0,
confName: '待提单' confName: '待提单'
}, },
{ // {
confId: 1, // confId: 1,
confName: 'ERP出单失败' // confName: 'ERP出单失败'
}, // },
{ {
confId: 2, confId: 2,
confName: '提单成功' confName: '提单成功'
...@@ -546,27 +546,27 @@ export default { ...@@ -546,27 +546,27 @@ export default {
{ {
confId: 5, confId: 5,
confName: '已过期' confName: '已过期'
},
{
confId: 7,
confName: '退单审核中'
},
{
confId: 8,
confName: 'ERP退单失败'
},
{
confId: 9,
confName: 'ERP修改审核中'
},
{
confId: 10,
confName: '修改成功'
},
{
confId: 11,
confName: 'ERP修改失败'
} }
// {
// confId: 7,
// confName: '退单审核中'
// },
// {
// confId: 8,
// confName: 'ERP退单失败'
// },
// {
// confId: 9,
// confName: 'ERP修改审核中'
// },
// {
// confId: 10,
// confName: '修改成功'
// },
// {
// confId: 11,
// confName: 'ERP修改失败'
// }
], ],
dataPerfectionList: [ dataPerfectionList: [
{ {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!