|
|
@ -40,39 +40,57 @@ |
|
|
|
<div> |
|
|
|
<el-table :key="tableKey" v-loading="listLoading" :data="list" border style="width: 100%;" |
|
|
|
@selection-change="handleSelectionChange"> |
|
|
|
<el-table-column width="50px" type="selection" align="center"/> |
|
|
|
<el-table-column width="80px" label="序号" type="index" :index="indexMethod" align="center"/> |
|
|
|
<el-table-column width="50px" fixed type="selection" align="center"/> |
|
|
|
<el-table-column width="80px" fixed label="序号" type="index" :index="indexMethod" align="center"/> |
|
|
|
<!-- <el-table-column label="操作" align="center" width="180px" class-name="small-padding fixed-width">--> |
|
|
|
<!-- <template slot-scope="{row}">--> |
|
|
|
<!-- <el-button size="mini" type="primary" @click="handleCheck(row)">查看</el-button>--> |
|
|
|
<!-- <el-button size="mini" type="primary" @click="cheLiangXiangXiPeiZhi(row)">车型配置</el-button>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<el-table-column label="车型名称" align="center"> |
|
|
|
<el-table-column label="车型名称" fixed width="280" align="left" header-align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span class="bluezi" @click="cheLiangXiangXiPeiZhi(scope.row)">{{ scope.row.modelName }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="车架号" align="center"> |
|
|
|
<el-table-column label="车架号" fixed width="200" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span class="bluezi" @click="handleCheck(scope.row)">{{ scope.row.vinNo }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<!-- <el-table-column width="190px" label="发动机号/许可证" align="center">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <span>{{ scope.row.engineNo }}</span>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<el-table-column label="存放地点" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.locationName }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column width="160px" label="库存状态" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.vehicleStateValue }}</span> |
|
|
|
<span class="bluezi" @click="handleCheck(scope.row)">{{ scope.row.vinNo }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<!-- <el-table-column width="190px" label="发动机号/许可证" align="center">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <span>{{ scope.row.engineNo }}</span>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<el-table-column prop="locationName" width="140" label="存放地点" align="center"/> |
|
|
|
<el-table-column prop="vehicleStateValue" width="100" label="库存状态" align="center"/> |
|
|
|
<el-table-column prop="arrivalDate" width="130" label="到货日期" align="center"/> |
|
|
|
<el-table-column prop="configName" width="460" label="常用配置名称" align="left" header-align="center" /> |
|
|
|
<el-table-column prop="contractPrice" width="130" label="厂家合同价" align="center" /> |
|
|
|
<el-table-column prop="costPrice" width="130" label="厂家结算价" align="center" /> |
|
|
|
<el-table-column prop="createOrgName" width="130" label="创建组织名称" align="center" /> |
|
|
|
<el-table-column prop="departureDate" width="130" label="发车日期" align="center" /> |
|
|
|
<el-table-column prop="freight" width="130" label="运费" align="center" /> |
|
|
|
<el-table-column prop="guidedPrice" width="130" label="销售指导价" align="center" /> |
|
|
|
<el-table-column prop="insideCode" width="160" label="内部编码" align="center" /> |
|
|
|
<el-table-column prop="locationName" width="130" label="存放地点名称" align="center" /> |
|
|
|
<el-table-column prop="lockedStateValue" width="130" label="锁定状态" align="center" /> |
|
|
|
<el-table-column prop="manPurOrderTypeValue" width="160" label="厂家采购订单类型" align="center" /> |
|
|
|
<el-table-column prop="orderingNo" width="160" label="厂家订单编号" align="center" /> |
|
|
|
<el-table-column prop="priceDate" width="130" label="厂家入库日期" align="center" /> |
|
|
|
<el-table-column prop="rebate1" width="130" label="返利1" align="center" /> |
|
|
|
<el-table-column prop="rebate2" width="130" label="返利2" align="center" /> |
|
|
|
<el-table-column prop="rebate3" width="130" label="返利3" align="center" /> |
|
|
|
<el-table-column prop="returnDate" width="130" label="退库日期" align="center" /> |
|
|
|
<el-table-column prop="salePrice" width="130" label="成交价" align="center" /> |
|
|
|
<el-table-column prop="salesDate" width="130" label="销售日期" align="center" /> |
|
|
|
<el-table-column prop="settlementStatus" width="110" label="结算状态" align="center" /> |
|
|
|
<el-table-column prop="solidDate" width="130" label="实销日期" align="center" /> |
|
|
|
<el-table-column prop="specialInstructions" width="150" label="特殊或差异说明" align="left" header-align="center" /> |
|
|
|
<el-table-column prop="useOrgName" width="130" label="使用组织名称" align="center" /> |
|
|
|
<el-table-column prop="vehicleStateValue" width="100" label="车辆状态" align="center" /> |
|
|
|
<el-table-column prop="warrantyCardNo" width="130" label="保修卡号" align="center" /> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div class="pages"> |
|
|
@ -316,7 +334,18 @@ export default { |
|
|
|
response.data.total > 0 |
|
|
|
) { |
|
|
|
this.list = response.data.records |
|
|
|
this.total = response.data.total |
|
|
|
this.total = response.data.total // 0:没买断,1预买断,2买断 |
|
|
|
for (var i=0; i<this.list.length; i++){ |
|
|
|
if (this.list[0].settlementStatus == '0'){ |
|
|
|
this.list[0].settlementStatus = '没买断' |
|
|
|
} |
|
|
|
if (this.list[0].settlementStatus == '1'){ |
|
|
|
this.list[0].settlementStatus = '预买断' |
|
|
|
} |
|
|
|
if (this.list[0].settlementStatus == '2'){ |
|
|
|
this.list[0].settlementStatus = '买断' |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.list = [] |
|
|
|
this.total = 0 |
|
|
|