Browse Source

修改客户信息

dev-warehouse
caoyizhong 2 years ago
parent
commit
25bbe0067d
  1. 8
      src/option/basicdata/basicdataTripartiteMall.js
  2. 3
      src/views/basicdata/brand/basicdataTripartiteMall.vue

8
src/option/basicdata/basicdataTripartiteMall.js

@ -88,10 +88,10 @@ export default {
display: false, display: false,
hide: true, hide: true,
}, },
{ // {
label: "客户ID", // label: "客户ID",
prop: "client", // prop: "client",
}, // },
{ {
label: "三方商城", label: "三方商城",
prop: "tripartiteMall", prop: "tripartiteMall",

3
src/views/basicdata/brand/basicdataTripartiteMall.vue

@ -35,7 +35,7 @@
:border="option.border"> :border="option.border">
<el-table-column type="selection" v-if="option.selection" width="55" align="center"></el-table-column> <el-table-column type="selection" v-if="option.selection" width="55" align="center"></el-table-column>
<el-table-column type="expand" v-if="option.expand" align="center"></el-table-column> <el-table-column type="expand" v-if="option.expand" align="center"></el-table-column>
<el-table-column v-if="option.index" label="#" type="index" width="50" align="center"> <el-table-column v-if="option.index" label="序号" type="index" width="70" align="center">
</el-table-column> </el-table-column>
<template v-for="(item,index) in option.column"> <template v-for="(item,index) in option.column">
<!-- table字段 --> <!-- table字段 -->
@ -269,6 +269,7 @@ export default {
}, },
onLoad (page, params = {}) { onLoad (page, params = {}) {
this.loading = true; this.loading = true;
this.query.client = this.$route.query.id;
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
const data = res.data.data; const data = res.data.data;
this.page.total = data.total; this.page.total = data.total;

Loading…
Cancel
Save