Commit 1406a8fd authored by lixy's avatar lixy

门店新增、编辑添加isShow=1字段

parent edc8998f
...@@ -266,7 +266,7 @@ ...@@ -266,7 +266,7 @@
</div> </div>
</template> </template>
<script> <script type="javascript">
import { formatDate } from "utils/dateFormattor"; import { formatDate } from "utils/dateFormattor";
import { getSonRegionByType, getSons } from "api/trouSys"; import { getSonRegionByType, getSons } from "api/trouSys";
import { import {
...@@ -448,6 +448,7 @@ export default { ...@@ -448,6 +448,7 @@ export default {
addrDetail: this.store_form.detail_address, addrDetail: this.store_form.detail_address,
latitude: this.store_form.latitude, //纬度 latitude: this.store_form.latitude, //纬度
longitude: this.store_form.longitude, //经度 longitude: this.store_form.longitude, //经度
isShow: 1 // 1、app展示
}; };
update_store(this.store_form.id, data).then((res) => { update_store(this.store_form.id, data).then((res) => {
if (res.status == 200) { if (res.status == 200) {
...@@ -509,6 +510,7 @@ export default { ...@@ -509,6 +510,7 @@ export default {
addrDetail: this.store_form.detail_address, addrDetail: this.store_form.detail_address,
latitude: this.store_form.latitude, //纬度 latitude: this.store_form.latitude, //纬度
longitude: this.store_form.longitude, //经度 longitude: this.store_form.longitude, //经度
isShow: 1 // 1、app显示
}; };
let that = this; let that = this;
add_store(data).then((res) => { add_store(data).then((res) => {
......
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