款式详情

zhc4dev
暖暖 2 years ago
parent 31cb1d49af
commit 102e0894e6
  1. 6
      ant-design-vue-jeecg/src/views/zyclothsstyle/ZyClothsStyleList.vue
  2. 9
      ant-design-vue-jeecg/src/views/zyclothsstyle/modules/ZyClothsStyleListDetail.vue

@ -120,7 +120,7 @@
<span slot="action" slot-scope="text, record">
<a @click="handleEdit(record)">编辑</a>
<a-divider type="vertical"/>
<a @click="handleDetail(record)">详情</a>
<a @click="handleDetail(record.id)">详情</a>
<a-divider type="vertical"/>
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
<a>删除</a>
@ -301,8 +301,8 @@
});
},
//
handleDetail(record){
this.$refs.ZyClothsStyleListDetail.showModal(record)
handleDetail(id){
this.$refs.ZyClothsStyleListDetail.showModal(id)
},
getSuperFieldList() {
let fieldList = [];

@ -368,10 +368,9 @@
}
},
methods: {
showModal(record) {
showModal(id) {
this.visible = true;
this.model = record
this.id = record.id
this.id = id
// this.$http.get('/zyclothsstyle/zyClothsStyle/detail?id='+record.id).then(
// res=>{
// console.log('res')
@ -390,8 +389,6 @@
});
}
this.confirmLoading = false
console.log('res.result')
console.log(res.result)
if(this.data1.length == 0){
this.data1.push(res.result.zyClothsStyle)
}
@ -399,8 +396,6 @@
this.data3 = res.result.zyStyleAccessoriesList
this.data = res.result.zyStyleModuleList
this.data5 = res.result.zyStyleModularList
console.log('data')
console.log(this.data)
},
handleOk(e) {
this.confirmLoading = true;

Loading…
Cancel
Save