|
|
@@ -201,7 +201,7 @@ |
|
|
|
<el-table-column label="子订单" type="expand"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-table ref="multipleTable" :data="scope.row.subOrder" border tooltip-effect="dark" |
|
|
|
style="font-size:12px;width: 94%;margin-left: 2%;margin-right: 4%"> |
|
|
|
style="border: 2px solid #71ebce; font-size:12px;width: 94%;margin-left: 2%;margin-right: 4%" :row-class-name="tableRowClassName"> |
|
|
|
<el-table-column prop="id" label="订单ID" min-width="30" ></el-table-column> |
|
|
|
<el-table-column prop="type" label="类型" min-width="30" ></el-table-column> |
|
|
|
<el-table-column label="名称" min-width="80" > |
|
|
@@ -678,11 +678,17 @@ |
|
|
|
}).catch(function (error) { |
|
|
|
console.log(error); |
|
|
|
}); |
|
|
|
}, |
|
|
|
tableRowClassName({row, rowIndex}){ |
|
|
|
return 'success-row'; |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
</script> |
|
|
|
<style lang="scss" scoped> |
|
|
|
.el-table .success-row { |
|
|
|
background: #f6fbf6; |
|
|
|
} |
|
|
|
/*修改展开按钮的样式 start*/ |
|
|
|
/*1.取消原本展开的旋转动效*/ |
|
|
|
.el-table__expand-icon{ |
|
|
|