...
|
...
|
@@ -131,7 +131,7 @@ let tableCols = [ |
|
|
title: '商品信息',
|
|
|
key: 'info',
|
|
|
align: 'center',
|
|
|
render(row, column, index) {
|
|
|
render(row) {
|
|
|
return `<cell-info
|
|
|
:skn="row.productSkn"
|
|
|
:product-name="row.productName"
|
...
|
...
|
@@ -175,7 +175,7 @@ let tableCols = [ |
|
|
title: '审核状态',
|
|
|
key: 'verify',
|
|
|
align: 'center',
|
|
|
render(row, column, index) {
|
|
|
render(row) {
|
|
|
return `${auditStatus[row.auditStatus]}`
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -184,12 +184,10 @@ let tableCols = [ |
|
|
key: 'action',
|
|
|
width: 180,
|
|
|
align: 'center',
|
|
|
render: function(row, column, index) {
|
|
|
render: function(row) {
|
|
|
return `<div class="action-btn-row">
|
|
|
<i-button type="primary" size="small" @click="editSize(row.productSkn)">尺码维护</i-button>
|
|
|
<i-button v-if="row._disabled" type="primary" size="small"
|
|
|
@click="editProduct(${row.productSkn})" disabled>内容编辑</i-button>
|
|
|
<i-button v-else type="primary" size="small" @click="editProduct(${row.productSkn})">内容编辑</i-button>
|
|
|
<i-button type="primary" size="small" @click="editProduct(${row.productSkn})">内容编辑</i-button>
|
|
|
</div>
|
|
|
<div class="btn-row-space">
|
|
|
<i-button v-if="row._disabled" type="error" size="small"
|
...
|
...
|
|