...
|
...
|
@@ -226,7 +226,7 @@ |
|
|
title: '颜色展示名称*',
|
|
|
key: 'factoryGoodsName',
|
|
|
render(row, col, index) {
|
|
|
return `<Input placeholder="请输入..." style="width: 50px"></Input>`
|
|
|
return `<i-input placeholder="请输入..." style="width: 50px"></i-input>`
|
|
|
}
|
|
|
},
|
|
|
{
|
...
|
...
|
@@ -234,7 +234,7 @@ |
|
|
key: 'goodsColorImage',
|
|
|
render(row, col, index) {
|
|
|
return `<Upload action="//jsonplaceholder.typicode.com/posts/">
|
|
|
<Button type="ghost" icon="ios-cloud-upload-outline">上传图片</Button>
|
|
|
<i-button type="ghost" icon="ios-cloud-upload-outline">上传图片</i-button>
|
|
|
</Upload>`
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -242,7 +242,7 @@ |
|
|
title: '款型编码',
|
|
|
key: 'factoryCode',
|
|
|
render(row, col, index) {
|
|
|
return `<Input placeholder="请输入..." style="width: 50px"></Input>`
|
|
|
return `<i-input placeholder="请输入..." style="width: 50px"></i-input>`
|
|
|
}
|
|
|
},
|
|
|
{
|
...
|
...
|
@@ -262,7 +262,7 @@ |
|
|
render(row, col, index) {
|
|
|
return `<div class='size-code'>
|
|
|
<div v-for="size in row.sizeCode" class="row-span">
|
|
|
<Input placeholder="请输入..." style="width: 50px"/>
|
|
|
<i-input placeholder="请输入..." style="width: 50px"/>
|
|
|
</div>
|
|
|
</div>`;
|
|
|
}
|
...
|
...
|
@@ -274,8 +274,8 @@ |
|
|
return `<template v-if="isExist(${index})">
|
|
|
<div class="size-operator">
|
|
|
<div v-for="op,i in table.data[${index}].operator" class="row-span">
|
|
|
<Button v-if="table.data[${index}].operator[i].value" type="warning" @click="clickOperator(${index}, i)">禁用</Button>
|
|
|
<Button v-else type="primary" @click="clickOperator(${index}, i)">启用</Button>
|
|
|
<i-button v-if="table.data[${index}].operator[i].value" type="warning" @click="clickOperator(${index}, i)">禁用</i-button>
|
|
|
<i-button v-else type="primary" @click="clickOperator(${index}, i)">启用</i-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>`;
|
...
|
...
|
|