refactor(views): 调整物流单号显示和点击事件
- 在 exportBillQuery、exportListQuery、listBranchQuery 和 logisticsExitQuery 组件中 -将订单编号的显示和点击事件改为物流单号 -调整表格列的 slot 属性以支持新的物流单号显示
Showing
4 changed files
with
12 additions
and
12 deletions
| ... | @@ -146,9 +146,9 @@ | ... | @@ -146,9 +146,9 @@ |
| 146 | </div> | 146 | </div> |
| 147 | </TablePopover> | 147 | </TablePopover> |
| 148 | </template> | 148 | </template> |
| 149 | - <template v-slot:orderNo="scope"> | 149 | + <template v-slot:logisticsNo="scope"> |
| 150 | <el-button type="text" @click="view(scope.row)">{{ | 150 | <el-button type="text" @click="view(scope.row)">{{ |
| 151 | - scope.row.orderNo | 151 | + scope.row.logisticsNo |
| 152 | }}</el-button> | 152 | }}</el-button> |
| 153 | </template> | 153 | </template> |
| 154 | </Table> | 154 | </Table> |
| ... | @@ -190,13 +190,13 @@ export default { | ... | @@ -190,13 +190,13 @@ export default { |
| 190 | value: "logisticsNo", | 190 | value: "logisticsNo", |
| 191 | width: "", | 191 | width: "", |
| 192 | align: "left", | 192 | align: "left", |
| 193 | + slot: true, | ||
| 193 | }, | 194 | }, |
| 194 | { | 195 | { |
| 195 | name: "订单编号", | 196 | name: "订单编号", |
| 196 | value: "orderNo", | 197 | value: "orderNo", |
| 197 | width: "", | 198 | width: "", |
| 198 | align: "left", | 199 | align: "left", |
| 199 | - slot: true, | ||
| 200 | }, | 200 | }, |
| 201 | { | 201 | { |
| 202 | name: "订单类型", | 202 | name: "订单类型", | ... | ... |
| ... | @@ -218,9 +218,9 @@ | ... | @@ -218,9 +218,9 @@ |
| 218 | </div> | 218 | </div> |
| 219 | </TablePopover> | 219 | </TablePopover> |
| 220 | </template> | 220 | </template> |
| 221 | - <template v-slot:billNo="scope"> | 221 | + <template v-slot:logisticsNo="scope"> |
| 222 | <el-button type="text" @click="view(scope.row)">{{ | 222 | <el-button type="text" @click="view(scope.row)">{{ |
| 223 | - scope.row.billNo | 223 | + scope.row.logisticsNo |
| 224 | }}</el-button> | 224 | }}</el-button> |
| 225 | </template> | 225 | </template> |
| 226 | </Table> | 226 | </Table> |
| ... | @@ -262,13 +262,13 @@ export default { | ... | @@ -262,13 +262,13 @@ export default { |
| 262 | value: "logisticsNo", | 262 | value: "logisticsNo", |
| 263 | width: "", | 263 | width: "", |
| 264 | align: "left", | 264 | align: "left", |
| 265 | + slot: true, | ||
| 265 | }, | 266 | }, |
| 266 | { | 267 | { |
| 267 | name: "提运单号", | 268 | name: "提运单号", |
| 268 | value: "billNo", | 269 | value: "billNo", |
| 269 | width: "", | 270 | width: "", |
| 270 | align: "left", | 271 | align: "left", |
| 271 | - slot: true, | ||
| 272 | }, | 272 | }, |
| 273 | { | 273 | { |
| 274 | name: "订单编号", | 274 | name: "订单编号", | ... | ... |
| ... | @@ -136,9 +136,9 @@ | ... | @@ -136,9 +136,9 @@ |
| 136 | </div> | 136 | </div> |
| 137 | </TablePopover> | 137 | </TablePopover> |
| 138 | </template> | 138 | </template> |
| 139 | - <template v-slot:billNo="scope"> | 139 | + <template v-slot:logisticsNo="scope"> |
| 140 | <el-button type="text" @click="view(scope.row)">{{ | 140 | <el-button type="text" @click="view(scope.row)">{{ |
| 141 | - scope.row.billNo | 141 | + scope.row.logisticsNo |
| 142 | }}</el-button> | 142 | }}</el-button> |
| 143 | </template> | 143 | </template> |
| 144 | </Table> | 144 | </Table> |
| ... | @@ -179,13 +179,13 @@ export default { | ... | @@ -179,13 +179,13 @@ export default { |
| 179 | value: "logisticsNo", | 179 | value: "logisticsNo", |
| 180 | width: "", | 180 | width: "", |
| 181 | align: "left", | 181 | align: "left", |
| 182 | + slot: true | ||
| 182 | }, | 183 | }, |
| 183 | { | 184 | { |
| 184 | name: "提运单号", | 185 | name: "提运单号", |
| 185 | value: "billNo", | 186 | value: "billNo", |
| 186 | width: "", | 187 | width: "", |
| 187 | align: "left", | 188 | align: "left", |
| 188 | - slot: true, | ||
| 189 | }, | 189 | }, |
| 190 | { | 190 | { |
| 191 | name: "电子口岸编号", | 191 | name: "电子口岸编号", | ... | ... |
| ... | @@ -146,9 +146,9 @@ | ... | @@ -146,9 +146,9 @@ |
| 146 | </div> | 146 | </div> |
| 147 | </TablePopover> | 147 | </TablePopover> |
| 148 | </template> | 148 | </template> |
| 149 | - <template v-slot:billNo="scope"> | 149 | + <template v-slot:logisticsNo="scope"> |
| 150 | <el-button type="text" @click="view(scope.row)">{{ | 150 | <el-button type="text" @click="view(scope.row)">{{ |
| 151 | - scope.row.billNo | 151 | + scope.row.logisticsNo |
| 152 | }}</el-button> | 152 | }}</el-button> |
| 153 | </template> | 153 | </template> |
| 154 | </Table> | 154 | </Table> |
| ... | @@ -190,13 +190,13 @@ export default { | ... | @@ -190,13 +190,13 @@ export default { |
| 190 | value: "logisticsNo", | 190 | value: "logisticsNo", |
| 191 | width: "", | 191 | width: "", |
| 192 | align: "left", | 192 | align: "left", |
| 193 | + slot: true | ||
| 193 | }, | 194 | }, |
| 194 | { | 195 | { |
| 195 | name: "提运单号", | 196 | name: "提运单号", |
| 196 | value: "billNo", | 197 | value: "billNo", |
| 197 | width: "", | 198 | width: "", |
| 198 | align: "left", | 199 | align: "left", |
| 199 | - slot: true, | ||
| 200 | }, | 200 | }, |
| 201 | { | 201 | { |
| 202 | name: "物流企业名称", | 202 | name: "物流企业名称", | ... | ... |
-
Please register or login to post a comment