|
...
|
...
|
@@ -18,12 +18,15 @@ Page({ |
|
|
|
lat: '',
|
|
|
|
region: [],
|
|
|
|
},
|
|
|
|
|
|
|
|
laiyuan: '',
|
|
|
|
/**
|
|
|
|
* 生命周期函数--监听页面加载
|
|
|
|
*/
|
|
|
|
onLoad(options) {
|
|
|
|
|
|
|
|
console.log('options', options);
|
|
|
|
if (options && options.laiyuan) {
|
|
|
|
this.laiyuan = options.laiyuan
|
|
|
|
}
|
|
|
|
},
|
|
|
|
submitInfo() {
|
|
|
|
let sellername = this.data.sellername.trim();
|
|
...
|
...
|
@@ -84,7 +87,7 @@ Page({ |
|
|
|
shopnumber:this.data.phone.trim(),
|
|
|
|
name:this.data.rname.trim(),
|
|
|
|
address: this.data.map_address,
|
|
|
|
laiyuan:'小程序',
|
|
|
|
laiyuan: this.laiyuan,
|
|
|
|
openid: getApp().openid,
|
|
|
|
}).then(res => {
|
|
|
|
if (res.ret != 200) {
|
...
|
...
|
|