...
|
...
|
@@ -127,6 +127,7 @@ export default function() { |
|
|
render: (h, params) => {
|
|
|
const row = params.row;
|
|
|
const disabled = row._disabled;
|
|
|
const status = row.auditStatus;
|
|
|
|
|
|
return (
|
|
|
<div>
|
...
|
...
|
@@ -136,12 +137,14 @@ export default function() { |
|
|
尺码维护
|
|
|
</i-button>
|
|
|
</div>
|
|
|
<div class="cell-action-row">
|
|
|
<i-button type="primary" size="small"
|
|
|
onClick={() => this.editProduct(row.productSkn)}>
|
|
|
内容编辑
|
|
|
</i-button>
|
|
|
</div>
|
|
|
{status !== 3 ? (
|
|
|
<div class="cell-action-row">
|
|
|
<i-button type="primary" size="small"
|
|
|
onClick={() => this.editProduct(row.productSkn)}>
|
|
|
内容编辑
|
|
|
</i-button>
|
|
|
</div>
|
|
|
) : void 0}
|
|
|
<div class="cell-action-row">
|
|
|
<i-button type="error" size="small" disabled={disabled}
|
|
|
onClick={() => this.setOffSale(row.productSkn)}>
|
...
|
...
|
|