|
@@ -57,15 +57,14 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template #slot-cpClassStyle="{scope}">
|
|
<template #slot-cpClassStyle="{scope}">
|
|
|
- <el-radio-group v-model="cpClassStyle" @change="changeClassify" style="margin-right:20px;padding-top:6px;margin-left:20px;">
|
|
|
|
|
|
|
+ <el-radio-group v-model="cpClassStyle" @change="changeCpClassStyle" style="margin-right:20px;padding-top:6px;margin-left:20px;">
|
|
|
<el-radio label="-1">全部</el-radio>
|
|
<el-radio label="-1">全部</el-radio>
|
|
|
- <el-radio label="0">未分产品</el-radio>
|
|
|
|
|
|
|
+ <el-radio label="0">未归产品</el-radio>
|
|
|
</el-radio-group>
|
|
</el-radio-group>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
</x-crud>
|
|
</x-crud>
|
|
|
|
|
|
|
|
- <!-- 新增弹窗 -->
|
|
|
|
|
<el-dialog :title="`${currentItemId == 0 ? '添加' : '修改'}花材`" :visible.sync="addDialog" :close-on-click-modal="false" width="600px" >
|
|
<el-dialog :title="`${currentItemId == 0 ? '添加' : '修改'}花材`" :visible.sync="addDialog" :close-on-click-modal="false" width="600px" >
|
|
|
<div class="ad-modal-content">
|
|
<div class="ad-modal-content">
|
|
|
<el-form :model="replaceForm" :rules="replaceFormRules" ref="replaceForm" label-width="100px" class="demo-form" >
|
|
<el-form :model="replaceForm" :rules="replaceFormRules" ref="replaceForm" label-width="100px" class="demo-form" >
|
|
@@ -240,6 +239,10 @@ export default {
|
|
|
},
|
|
},
|
|
|
computed: {},
|
|
computed: {},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ changeCpClassStyle(e){
|
|
|
|
|
+ this.cpClassStyle = e
|
|
|
|
|
+ this.app.refresh({ classId: this.classId,cpId:this.cpId,cpClassStyle:this.cpClassStyle })
|
|
|
|
|
+ },
|
|
|
getCpClass(e){
|
|
getCpClass(e){
|
|
|
this.cpId = e
|
|
this.cpId = e
|
|
|
this.app.refresh({ classId: this.classId,cpId:this.cpId,cpClassStyle:this.cpClassStyle })
|
|
this.app.refresh({ classId: this.classId,cpId:this.cpId,cpClassStyle:this.cpClassStyle })
|
|
@@ -459,11 +462,11 @@ export default {
|
|
|
})
|
|
})
|
|
|
.set('search', {
|
|
.set('search', {
|
|
|
key: {
|
|
key: {
|
|
|
- placeholder: '请填写名称',
|
|
|
|
|
|
|
+ placeholder: '花材名称',
|
|
|
},
|
|
},
|
|
|
})
|
|
})
|
|
|
.set('pagination', {
|
|
.set('pagination', {
|
|
|
- size: 50
|
|
|
|
|
|
|
+ size:20
|
|
|
})
|
|
})
|
|
|
.set('layout', [
|
|
.set('layout', [
|
|
|
['slot-tabs'],
|
|
['slot-tabs'],
|