|
|
@ -2,7 +2,7 @@ |
|
|
|
<div class="app-container"> |
|
|
|
<!-- Start 列表页面 --> |
|
|
|
<div v-show="viewState == 1"> |
|
|
|
<button-bar view-title="车辆销售管理" ref="btnbar" :btndisabled="btndisabled" @btnhandle="btnHandle"/> |
|
|
|
<button-bar view-title="车辆销售台账" ref="btnbar" :btndisabled="btndisabled" @btnhandle="btnHandle"/> |
|
|
|
<div class="main-content"> |
|
|
|
<div class="searchcon"> |
|
|
|
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button> |
|
|
@ -60,6 +60,11 @@ |
|
|
|
<el-button type="primary" size="mini" @click="toInfo(scope.row)">查看</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="分公司" align="center" width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.createOrgName }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="车架号" align="center" width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.vinNo }}</span> |
|
|
@ -67,7 +72,12 @@ |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="车型(配置简述)" align="center" width="400"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.modelConfig }}</span> |
|
|
|
<span class="bluezi" @click="handleLook(scope.row)">{{ scope.row.modelName }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="内部编码" align="center" width="400"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.insideCode }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="销售类型" align="center" width="120"> |
|
|
@ -154,6 +164,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<chelaingxiaoshouInfo v-show="viewState == 2" ref="divInfo" @doback="resetState"/> |
|
|
|
<vehicleconfiguration v-show="viewState == 3" ref="divPeizhi" @doback="resetState"/> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
@ -164,6 +175,7 @@ import pageye from '@/components/pagination/pageye' |
|
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
|
import { typeValues, getPathSidByUserSid, selectOrgList } from '@/api/cheliang/dictcommons' |
|
|
|
import chelaingxiaoshouInfo from './chelaingxiaoshouInfo' |
|
|
|
import vehicleconfiguration from '@/views/cheliang/cheliangtaizhang/relation/vehicleconfiguration' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'cheliangxiaoshou', |
|
|
@ -171,7 +183,8 @@ export default { |
|
|
|
Pagination, |
|
|
|
pageye, |
|
|
|
ButtonBar, |
|
|
|
chelaingxiaoshouInfo |
|
|
|
chelaingxiaoshouInfo, |
|
|
|
vehicleconfiguration |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
@ -313,6 +326,10 @@ export default { |
|
|
|
this.viewState = 2 |
|
|
|
this.$refs['divInfo'].showInfo(row) |
|
|
|
}, |
|
|
|
handleLook(row) { |
|
|
|
this.viewState = 3 |
|
|
|
this.$refs['divPeizhi'].showInfo(row) |
|
|
|
}, |
|
|
|
resetState() { |
|
|
|
this.viewState = 1 |
|
|
|
}, |
|
|
|