|
|
|
@ -109,7 +109,13 @@
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
<div v-if="form.img" style="position: relative;">
|
|
|
|
<div v-if="form.img" style="position: relative;">
|
|
|
|
<img :src="form.img" class="avatar">
|
|
|
|
<img :src="form.img" class="avatar">
|
|
|
|
<Button shape="circle" icon="md-close" type="error" size="small" class="img__delete" @click="form.img = ''"></Button>
|
|
|
|
<Button
|
|
|
|
|
|
|
|
shape="circle"
|
|
|
|
|
|
|
|
icon="md-close"
|
|
|
|
|
|
|
|
type="error"
|
|
|
|
|
|
|
|
size="small"
|
|
|
|
|
|
|
|
class="img__delete"
|
|
|
|
|
|
|
|
@click="form.img = ''"></Button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<el-upload
|
|
|
|
<el-upload
|
|
|
|
v-else
|
|
|
|
v-else
|
|
|
|
@ -131,13 +137,14 @@
|
|
|
|
</xy-dialog>
|
|
|
|
</xy-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 跳转商品选择-->
|
|
|
|
<!-- 跳转商品选择-->
|
|
|
|
<Modal v-model="isShowProductSelect" title="商品选择">
|
|
|
|
<Modal v-model="isShowProductSelect" title="跳转商品选择">
|
|
|
|
<Table
|
|
|
|
<Table
|
|
|
|
highlight-row
|
|
|
|
highlight-row
|
|
|
|
ref="currentRowTable"
|
|
|
|
ref="currentRowTable"
|
|
|
|
:columns="productColumns"
|
|
|
|
:columns="productColumns"
|
|
|
|
:data="productData"
|
|
|
|
:data="productData"
|
|
|
|
@on-current-change="productSelect"></Table>
|
|
|
|
@on-current-change="productSelect" />
|
|
|
|
|
|
|
|
<Page :current="1" :total="50" simple style="padding-top: 14px;display: flex;justify-content: center;"/>
|
|
|
|
</Modal>
|
|
|
|
</Modal>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
@ -381,11 +388,11 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
<style scoped lang="scss">
|
|
|
|
.img__delete{
|
|
|
|
.img__delete{
|
|
|
|
|
|
|
|
transform: scale(0.8,0.8);
|
|
|
|
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
top: 3px;
|
|
|
|
top: 1px;
|
|
|
|
right: 15px;
|
|
|
|
right: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|