|
@@ -14,12 +14,12 @@
|
|
|
<div class="col-sm-12">
|
|
<div class="col-sm-12">
|
|
|
<div class="ibox float-e-margins">
|
|
<div class="ibox float-e-margins">
|
|
|
<div class="ibox-title">
|
|
<div class="ibox-title">
|
|
|
- <h5>门店设置</h5>
|
|
|
|
|
|
|
+ <h5>门店审核</h5>
|
|
|
</div>
|
|
</div>
|
|
|
<div id="store-attr" class="mp-form" v-cloak="">
|
|
<div id="store-attr" class="mp-form" v-cloak="">
|
|
|
<i-Form :label-width="80" style="width: 100%">
|
|
<i-Form :label-width="80" style="width: 100%">
|
|
|
<template>
|
|
<template>
|
|
|
- <Alert type="warning">除门店简介外其他选项都是必填项</Alert>
|
|
|
|
|
|
|
+ <Alert type="warning">审核时可以修改</Alert>
|
|
|
<Form-Item>
|
|
<Form-Item>
|
|
|
<Row>
|
|
<Row>
|
|
|
|
|
|
|
@@ -39,6 +39,33 @@
|
|
|
</i-Col>
|
|
</i-Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
</Form-Item>
|
|
</Form-Item>
|
|
|
|
|
+ <Form-Item>
|
|
|
|
|
+ <Row>
|
|
|
|
|
+ <i-Col span="13">
|
|
|
|
|
+ <span>经营范围:</span>
|
|
|
|
|
+ <i-Input placeholder="经营范围" v-model="form.job" style="width: 80%"
|
|
|
|
|
+ type="text"></i-Input>
|
|
|
|
|
+ </i-Col>
|
|
|
|
|
+ </Row>
|
|
|
|
|
+ </Form-Item>
|
|
|
|
|
+ <Form-Item>
|
|
|
|
|
+ <Row>
|
|
|
|
|
+ <i-Col span="13">
|
|
|
|
|
+ <span>联系人:</span>
|
|
|
|
|
+ <i-Input placeholder="联系人" v-model="form.leader" style="width: 80%"
|
|
|
|
|
+ type="text"></i-Input>
|
|
|
|
|
+ </i-Col>
|
|
|
|
|
+ </Row>
|
|
|
|
|
+ </Form-Item>
|
|
|
|
|
+ <Form-Item>
|
|
|
|
|
+ <Row>
|
|
|
|
|
+ <i-Col span="13">
|
|
|
|
|
+ <span>身份证号码:</span>
|
|
|
|
|
+ <i-Input placeholder="身份证号码" v-model="form.id_card" style="width: 80%"
|
|
|
|
|
+ type="text"></i-Input>
|
|
|
|
|
+ </i-Col>
|
|
|
|
|
+ </Row>
|
|
|
|
|
+ </Form-Item>
|
|
|
<Form-Item>
|
|
<Form-Item>
|
|
|
<Row>
|
|
<Row>
|
|
|
<i-Col span="13">
|
|
<i-Col span="13">
|
|
@@ -67,23 +94,6 @@
|
|
|
</i-Col>
|
|
</i-Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
</Form-Item>
|
|
</Form-Item>
|
|
|
- <!-- <Form-Item>-->
|
|
|
|
|
- <!-- <Row>-->
|
|
|
|
|
- <!-- <i-Col span="13">-->
|
|
|
|
|
- <!-- <span>核销时效:</span>-->
|
|
|
|
|
- <!-- <Date-picker type="daterange" @on-change="changeValidTime" placeholder="选择日期" :value="form.valid_time"></Date-picker>-->
|
|
|
|
|
- <!-- </i-Col>-->
|
|
|
|
|
- <!-- </Row>-->
|
|
|
|
|
- <!-- </Form-Item>-->
|
|
|
|
|
- <Form-Item>
|
|
|
|
|
- <Row>
|
|
|
|
|
- <i-Col span="13">
|
|
|
|
|
- <span>营业时间:</span>
|
|
|
|
|
- <Time-picker type="timerange" @on-change="changeDayTime" placement="bottom-end"
|
|
|
|
|
- :value="form.day_time" placeholder="选择时间"></Time-picker>
|
|
|
|
|
- </i-Col>
|
|
|
|
|
- </Row>
|
|
|
|
|
- </Form-Item>
|
|
|
|
|
<Form-Item>
|
|
<Form-Item>
|
|
|
<Row>
|
|
<Row>
|
|
|
<i-Col span="13">
|
|
<i-Col span="13">
|
|
@@ -114,6 +124,18 @@
|
|
|
</i-Col>
|
|
</i-Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
</Form-Item>
|
|
</Form-Item>
|
|
|
|
|
+ <Form-Item>
|
|
|
|
|
+ <Row>
|
|
|
|
|
+ <i-Col span="13">
|
|
|
|
|
+ <span>营业执照:</span>
|
|
|
|
|
+ <div class="demo-upload-list" v-if="form.cert">
|
|
|
|
|
+ <template>
|
|
|
|
|
+ <img :src="form.cert">
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </i-Col>
|
|
|
|
|
+ </Row>
|
|
|
|
|
+ </Form-Item>
|
|
|
<Form-Item>
|
|
<Form-Item>
|
|
|
<Row>
|
|
<Row>
|
|
|
<i-Col span="13">
|
|
<i-Col span="13">
|
|
@@ -129,15 +151,6 @@
|
|
|
</i-Col>
|
|
</i-Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
</Form-Item>
|
|
</Form-Item>
|
|
|
- <Form-Item>
|
|
|
|
|
- <Row>
|
|
|
|
|
- <i-Col span="13">
|
|
|
|
|
- <span>终端号:</span>
|
|
|
|
|
- <i-Input placeholder="终端号" v-model="form.terminal_number" style="width: 80%"
|
|
|
|
|
- type="text"></i-Input>
|
|
|
|
|
- </i-Col>
|
|
|
|
|
- </Row>
|
|
|
|
|
- </Form-Item>
|
|
|
|
|
<Form-Item>
|
|
<Form-Item>
|
|
|
<Row>
|
|
<Row>
|
|
|
<i-Col span="13">
|
|
<i-Col span="13">
|
|
@@ -147,49 +160,14 @@
|
|
|
</i-Col>
|
|
</i-Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
</Form-Item>
|
|
</Form-Item>
|
|
|
- <Form-Item>
|
|
|
|
|
- <Row>
|
|
|
|
|
- <i-Col span="13">
|
|
|
|
|
- <span>第三方门店:</span>
|
|
|
|
|
- <i-Select v-model="form.is_triple" style="width: 80%">
|
|
|
|
|
- <i-Option value="1">是</i-Option>
|
|
|
|
|
- <i-Option value="0">否</i-Option>
|
|
|
|
|
- </i-Select>
|
|
|
|
|
- </i-Col>
|
|
|
|
|
- </Row>
|
|
|
|
|
- </Form-Item>
|
|
|
|
|
- <Form-Item>
|
|
|
|
|
- <Row>
|
|
|
|
|
- <i-Col span="13">
|
|
|
|
|
- <span>推荐奖:</span>
|
|
|
|
|
- <i-Input placeholder="%" v-model="form.recommend" style="width: 80%"
|
|
|
|
|
- type="text"></i-Input>
|
|
|
|
|
- </i-Col>
|
|
|
|
|
- </Row>
|
|
|
|
|
- </Form-Item>
|
|
|
|
|
- <Form-Item>
|
|
|
|
|
- <Row>
|
|
|
|
|
- <i-Col span="13">
|
|
|
|
|
- <span>订单手续费:</span>
|
|
|
|
|
- <i-Input placeholder="%" v-model="form.commission_order" style="width: 80%"
|
|
|
|
|
- type="text"></i-Input>
|
|
|
|
|
- </i-Col>
|
|
|
|
|
- </Row>
|
|
|
|
|
- </Form-Item> <Form-Item>
|
|
|
|
|
- <Row>
|
|
|
|
|
- <i-Col span="13">
|
|
|
|
|
- <span>提现手续费:</span>
|
|
|
|
|
- <i-Input placeholder="%" v-model="form.commission" style="width: 80%"
|
|
|
|
|
- type="text"></i-Input>
|
|
|
|
|
- </i-Col>
|
|
|
|
|
- </Row>
|
|
|
|
|
- </Form-Item>
|
|
|
|
|
<Form-Item>
|
|
<Form-Item>
|
|
|
<Row>
|
|
<Row>
|
|
|
<i-Col span="13">
|
|
<i-Col span="13">
|
|
|
<span>推荐用户:</span>
|
|
<span>推荐用户:</span>
|
|
|
<i-Select v-model="form.spread_uid" style="width: 80%">
|
|
<i-Select v-model="form.spread_uid" style="width: 80%">
|
|
|
- <i-Option v-for="item in userData" :value="item.uid">{{item.nickname}}({{item.phone}})</i-Option>
|
|
|
|
|
|
|
+ <i-Option v-for="item in userData" :value="item.uid">
|
|
|
|
|
+ {{item.nickname}}({{item.phone}})
|
|
|
|
|
+ </i-Option>
|
|
|
</i-Select>
|
|
</i-Select>
|
|
|
</i-Col>
|
|
</i-Col>
|
|
|
</Row>
|
|
</Row>
|
|
@@ -212,8 +190,16 @@
|
|
|
<script src="{__ADMIN_PATH}js/layuiList.js"></script>
|
|
<script src="{__ADMIN_PATH}js/layuiList.js"></script>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
- var storeData = {:json_encode($store)};
|
|
|
|
|
- var userData = {:json_encode($users)};
|
|
|
|
|
|
|
+ var storeData = {
|
|
|
|
|
+ :
|
|
|
|
|
+ json_encode($store)
|
|
|
|
|
+ }
|
|
|
|
|
+ ;
|
|
|
|
|
+ var userData = {
|
|
|
|
|
+ :
|
|
|
|
|
+ json_encode($users)
|
|
|
|
|
+ }
|
|
|
|
|
+ ;
|
|
|
mpFrame.start(function (Vue) {
|
|
mpFrame.start(function (Vue) {
|
|
|
$.each(city, function (key, item) {
|
|
$.each(city, function (key, item) {
|
|
|
city[key].value = item.label;
|
|
city[key].value = item.label;
|
|
@@ -241,22 +227,20 @@
|
|
|
image: storeData.image || '',
|
|
image: storeData.image || '',
|
|
|
detailed_address: storeData.detailed_address || '',
|
|
detailed_address: storeData.detailed_address || '',
|
|
|
latlng: storeData.latlng || '',
|
|
latlng: storeData.latlng || '',
|
|
|
- valid_time: storeData.valid_time || [],
|
|
|
|
|
- day_time: storeData.day_time || [],
|
|
|
|
|
- terminal_number: storeData.terminal_number || '',
|
|
|
|
|
uid: storeData.uid || 0,
|
|
uid: storeData.uid || 0,
|
|
|
- commission: storeData.commission || 0,
|
|
|
|
|
- commission_order: storeData.commission_order || 0,
|
|
|
|
|
- recommend: storeData.recommend || 0,
|
|
|
|
|
|
|
+ cert: storeData.cert || 0,
|
|
|
|
|
+ status: storeData.status || 0,
|
|
|
|
|
+ leader: storeData.leader || '',
|
|
|
|
|
+ id_card: storeData.id_card || '',
|
|
|
|
|
+ job: storeData.job || '',
|
|
|
spread_uid: storeData.spread_uid || 0,
|
|
spread_uid: storeData.spread_uid || 0,
|
|
|
- is_triple: storeData.is_triple || "0",
|
|
|
|
|
},
|
|
},
|
|
|
visible: false,
|
|
visible: false,
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
changeModel(newval) {
|
|
changeModel(newval) {
|
|
|
- console.log(newval);
|
|
|
|
|
|
|
+ console.log(newval);
|
|
|
},
|
|
},
|
|
|
changeDayTime: function (date) {
|
|
changeDayTime: function (date) {
|
|
|
this.$set(this.form, 'day_time', date);
|
|
this.$set(this.form, 'day_time', date);
|