|
|
@ -181,6 +181,9 @@ |
|
|
|
<el-form-item label="常用配置"> |
|
|
|
<el-input v-model="listQuery.params.configName" maxlength="125" placeholder="请输入常用配置名称" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="配置编码"> |
|
|
|
<el-input v-model="listQuery.params.configCode" maxlength="125" placeholder="" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-row> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -226,6 +229,9 @@ |
|
|
|
<span style="padding: 0 8px">至</span> |
|
|
|
<el-date-picker value-format="yyyy-MM-dd" v-model="listQuery.params.applicationDateEnd" clearable type="date" placeholder="结束日期"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="内部编码"> |
|
|
|
<el-input v-model="listQuery.params.insideCode" placeholder="" clearable class="addinputw"/> |
|
|
|
</el-form-item> |
|
|
|
</el-row> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -239,7 +245,7 @@ |
|
|
|
</div> |
|
|
|
<div class="listtop"> |
|
|
|
<div class="tit">车辆台账信息列表</div> |
|
|
|
<pageye v-show="total>0" :total="total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/> |
|
|
|
<pageye v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-table :key="tableKey" v-loading="listLoading" :data="list" border style="width: 100%;" @selection-change="handleSelectionChange"> |
|
|
@ -362,7 +368,7 @@ |
|
|
|
</div> |
|
|
|
<div class="pages"> |
|
|
|
<!-- 翻页 --> |
|
|
|
<pagination v-show="total>0" :total="total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/> |
|
|
|
<pagination v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -559,7 +565,6 @@ export default { |
|
|
|
imgList: [], |
|
|
|
srcList: [], |
|
|
|
dialogImgVisible: false, |
|
|
|
total: 1, |
|
|
|
FormLoading: false, |
|
|
|
listLoading: false, |
|
|
|
listQuery: { |
|
|
@ -588,6 +593,7 @@ export default { |
|
|
|
bumperKey: '', |
|
|
|
carColorKey: '', |
|
|
|
configName: '', |
|
|
|
configCode: '', |
|
|
|
configuringBaoKey: '', |
|
|
|
fuelTankKey: '', |
|
|
|
hubMaterialKey: '', |
|
|
@ -602,10 +608,12 @@ export default { |
|
|
|
suspensionKey: '', |
|
|
|
tireCoverKey: '', |
|
|
|
tireSizeKey: '', |
|
|
|
wheelbaseKey: '' |
|
|
|
wheelbaseKey: '', |
|
|
|
insideCode: '' |
|
|
|
}, |
|
|
|
current: 1, |
|
|
|
size: 5 |
|
|
|
size: 5, |
|
|
|
total: 0 |
|
|
|
}, |
|
|
|
queryParams: { |
|
|
|
current: 1, |
|
|
@ -1072,13 +1080,9 @@ export default { |
|
|
|
pagerList(this.listQuery).then((response) => { |
|
|
|
// console.log('列表查询结果:' + JSON.stringify(response)) |
|
|
|
this.listLoading = false |
|
|
|
if ( |
|
|
|
response.code === '200' && |
|
|
|
response.data && |
|
|
|
response.data.total > 0 |
|
|
|
) { |
|
|
|
if (response.success) { |
|
|
|
this.list = response.data.records |
|
|
|
this.total = response.data.total // 0:未买断,1预买断,2买断 |
|
|
|
this.listQuery.total = response.data.total // 0:未买断,1预买断,2买断 |
|
|
|
for (var i = 0; i < this.list.length; i++) { |
|
|
|
if (this.list[i].settlementStatus == '0') { |
|
|
|
this.list[i].settlementStatus = '未买断' |
|
|
@ -1092,7 +1096,7 @@ export default { |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.list = [] |
|
|
|
this.total = 0 |
|
|
|
this.listQuery.total = 0 |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -1129,6 +1133,7 @@ export default { |
|
|
|
bumperKey: '', |
|
|
|
carColorKey: '', |
|
|
|
configName: '', |
|
|
|
configCode: '', |
|
|
|
configuringBaoKey: '', |
|
|
|
fuelTankKey: '', |
|
|
|
hubMaterialKey: '', |
|
|
@ -1143,7 +1148,8 @@ export default { |
|
|
|
suspensionKey: '', |
|
|
|
tireCoverKey: '', |
|
|
|
tireSizeKey: '', |
|
|
|
wheelbaseKey: '' |
|
|
|
wheelbaseKey: '', |
|
|
|
insideCode: '' |
|
|
|
}, |
|
|
|
current: 1, |
|
|
|
size: 5 |
|
|
|