| | |
| | | <script>
|
| | | // "http://api.flqapp.com";
|
| | | var host = "http://192.168.1.253:8080";
|
| | | var host1 = "http://192.168.1.114:8848";
|
| | | var h5Url = "http://192.168.1.114:8848";
|
| | |
|
| | | var check = null;
|
| | | var wId = null;
|
| | |
|
| | |
| | | custom: false, // 优先发送自选商品库
|
| | | official: false, // 自动采集官方推荐
|
| | | count: 0,
|
| | | goodsList: [
|
| | | // {
|
| | | // goods: {
|
| | | // shopInfo: {
|
| | | // shopName: null
|
| | | // }
|
| | | // }
|
| | | // },
|
| | | ]
|
| | | goodsList: []
|
| | | },
|
| | | watch: {
|
| | |
|
| | |
| | | if (type == 2) { //切换到发单商品库
|
| | | app.page = 1;
|
| | | app.fetchGoodsList();
|
| | |
|
| | | }
|
| | | },
|
| | |
|
| | |
| | | },
|
| | | // 开通云发单
|
| | | openCloudPushOrder: function() {
|
| | | yesApp.jumpWeb(host1 + '/flqFront/AppInside/cloudPushOrder/openCloudPushOrder.html', null);
|
| | | yesApp.jumpWeb(h5Url + '/flqFront/AppInside/cloudPushOrder/openCloudPushOrder.html', null);
|
| | | },
|
| | | // 登录微信
|
| | | loginWX: function() {
|
| | |
| | | app.fetchQrcodeMaclogin();
|
| | |
|
| | | } else {
|
| | | yesApp.jumpWeb(host1 + '/flqFront/AppInside/cloudPushOrder/openCloudPushOrder.html', null);
|
| | | yesApp.jumpWeb(h5Url + '/flqFront/AppInside/cloudPushOrder/openCloudPushOrder.html', null);
|
| | | }
|
| | | },
|
| | |
|
| | |
| | |
|
| | | pushOpenVip: function() {
|
| | | $('.dialogmask_notOpen').css('display', 'none')
|
| | | yesApp.jumpWeb(host1 + '/flqFront/AppInside/cloudPushOrder/openCloudPushOrder.html', null);
|
| | | yesApp.jumpWeb(h5Url + '/flqFront/AppInside/cloudPushOrder/openCloudPushOrder.html', null);
|
| | | },
|
| | |
|
| | | commitAddTxRecord: function() {
|
| | |
| | | app.circle = result.data.circle;
|
| | | app.userInfo = result.data;
|
| | |
|
| | |
|
| | | } else {
|
| | | yesApp.toast(result.msg);
|
| | | }
|