Commit b6753c77 by 李长胜

修改

1 parent 27ba44ed
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
<!-- :row-style="{ height: 88 + 'px' }" --> <!-- :row-style="{ height: 88 + 'px' }" -->
<GLTable :hasNum="false" :tableData="vehicleTableData" :hasPage="false" :tableParams="vehicleTableParams" :headerStyle="{ height: '54px' }"> <GLTable :hasNum="false" :tableData="vehicleTableData" :hasPage="false" :tableParams="vehicleTableParams" :headerStyle="{ height: '54px' }">
<span slot="standNo" slot-scope="scope"> <span slot="standNo" slot-scope="scope">
<span>{{ myStandNo(scope.scope) }}</span> <span>{{ myStandNo(scope.scope.standNo) }}</span>
</span> </span>
</GLTable> </GLTable>
<!-- <el-table :data="vehicleTableData" style="width: 100%" :headerStyle="{ height: '54px' }"> <!-- <el-table :data="vehicleTableData" style="width: 100%" :headerStyle="{ height: '54px' }">
...@@ -371,11 +371,11 @@ export default { ...@@ -371,11 +371,11 @@ export default {
str:需要进行处理的字符串,可含汉字 str:需要进行处理的字符串,可含汉字
len:需要显示多少个汉字,两个英文字母相当于一个汉字 len:需要显示多少个汉字,两个英文字母相当于一个汉字
*/ */
myStandNo(row) { myStandNo(standNo) {
if (!row) { if (!standNo) {
return '' return ''
} }
return row.standNo.substring(row.standNo.length - 6) return standNo.substring(standNo.length - 6)
}, },
beautySub(value) { beautySub(value) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!