Commit a2ab9eaf authored by Z's avatar Z

Z: Dot: store: see done.

parent ae7e0c81
......@@ -142,6 +142,18 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-form-item label="店员:">
<el-table class="list" :data="zdata.see.storeManList" tooltip-effect="dark">
<el-table-column type="index" width="50" align="center"></el-table-column>
<el-table-column prop="userName" label="门店名称" align="center"></el-table-column>
<el-table-column prop="userId" label="门店类型" align="center"></el-table-column>
<el-table-column prop="mobile" label="门店类型" align="center"></el-table-column>
</el-table>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
<span slot="footer" class="dialog-footer">
......@@ -185,12 +197,14 @@ export default {
storeAddress: "storeAddress",
storeManList: [
{
id: "0001",
name: "Alice"
userName: "Alice",
userId: "wx0001",
mobile: "110"
},
{
id: "0002",
name: "Bob"
userName: "Bob",
userId: "wx0002",
mobile: "120"
}
]
}
......@@ -356,17 +370,18 @@ export default {
storeGetStoreDetail(inData) {
let postData = {
isDetail: true,
stallId: inData,
}
stallId: inData
};
ApiStoreGetStoreDetail(postData)
.then(res => {
this.zdata.see.storeName = res.data.adminStall.name
this.zdata.see.storeType = res.data.adminStall.type
this.zdata.see.storeFromBar = res.data.adminStall.shopId
this.zdata.see.storeBossName = res.data.principal.userName
this.zdata.see.storeDoorId = res.data.adminStall.signNum
this.zdata.see.storeAddress = res.data.adminStall.location
this.zdata.see.storeName = res.data.adminStall.name;
this.zdata.see.storeType = res.data.adminStall.type;
this.zdata.see.storeFromBar = res.data.adminStall.shopId;
this.zdata.see.storeBossName = res.data.principal.userName;
this.zdata.see.storeDoorId = res.data.adminStall.signNum;
this.zdata.see.storeAddress = res.data.adminStall.location;
this.zdata.see.storeManList = res.data.clerks_unselected
})
.catch(err => {});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment