Commit 4b546763 by 张立顺

fix bug

1 parent 82b4b204
......@@ -24,7 +24,8 @@
<template slot-scope="scope">
<el-tooltip class="item" :content="scope.row.orderCode" placement="right">
<span>
{{ scope.row.goodsName ? (scope.row.goodsName > 10 ? scope.row.goodsName.substring(0, 10) + '...' :
{{ scope.row.goodsName ? (scope.row.goodsName.length > 10 ? scope.row.goodsName.substring(0, 10) + '...'
:
scope.row.goodsName) : '-' }}
</span>
</el-tooltip>
......@@ -33,7 +34,7 @@
<el-table-column label="所属业务" prop="orderBusinessType" align="center" width="150px">
<template slot-scope="scope">
<span>{{ scope.row.orderBusinessType ? orderBusinessTypeList[scope.row.orderBusinessType.toString()] : '-'
}}</span>
}}</span>
</template>
</el-table-column>
<el-table-column label="交易参考号" prop="tradeNo" align="center" width="150px">
......
......@@ -32,7 +32,8 @@
<!-- <span>{{ scope.row.goodsName || '-' }}</span> -->
<el-tooltip class="item" :content="scope.row.goodsName" placement="right">
<span>
{{ scope.row.goodsName ? (scope.row.goodsName > 10 ? scope.row.goodsName.substring(0, 10) + '...' :
{{ scope.row.goodsName ? (scope.row.goodsName.length > 10 ? scope.row.goodsName.substring(0, 10) + '...'
:
scope.row.goodsName) : '-' }}
</span>
</el-tooltip>
......@@ -41,7 +42,7 @@
<el-table-column label="所属业务" prop="orderBusinessType" align="center" width="150px">
<template slot-scope="scope">
<span>{{ scope.row.orderBusinessType ? orderBusinessTypeList[scope.row.orderBusinessType.toString()] : '-'
}}</span>
}}</span>
</template>
</el-table-column>
<el-table-column label="交易参考号" prop="tradeNo" align="center" width="150px">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!