myTest383 5 months ago
parent
commit
256022450c
  1. 4
      common/config.js
  2. 3
      pages/SelectAddressActivity.vue
  3. 4
      pages/bind/bind_cloudCard.vue
  4. 2
      pages/good/goodsDetail.vue
  5. 8
      pages/good/goodsDetail2.vue
  6. 4
      pages/good/reservation.vue
  7. 9
      pages/good/transfer.vue
  8. 9
      pages/home/cloudCard2.vue
  9. 13
      pages/home/myCellar.vue
  10. 5
      pages/home/myHome.vue

4
common/config.js

@ -7,10 +7,10 @@
*/
module.exports = {
// baseUrl: 'http://uv32vz.natappfree.cc', // 本地
// baseUrl: 'http://192.168.0.105:8116/mall/', // 本地
baseUrl: 'http://192.168.0.105:8116/mall', // 本地
// baseUrl: 'https://39.104.100.138/lpkapi', // 测试服务器
// baseUrl: 'https://lpk.yyundong.com/mallapi', // 测试服务器
baseUrl: 'https://ordermall.yxtsoft.com/lpkapi/mall', // 正式服务器
// baseUrl: 'https://ordermall.yxtsoft.com/lpkapi/mall', // 正式服务器
// tokenName: "Authorization", // 请求头中token的名字,与服务器端对应
loginTimeoutCode: "5001", // 登录超时或失效的情况下,服务器端返回的错误码
loginTimeoutPage: "/pages/login/index", // 登录超时或失效的情况下,跳转到的登录页面

3
pages/SelectAddressActivity.vue

@ -161,7 +161,8 @@
})
let _this = this
_this.$api.address({
'name': this.page.key
'name': this.page.key,
orgPath: getApp().globalData.orgPath
}).then((resp) => {
_this.dataList = resp
if (resp.length == 0) {

4
pages/bind/bind_cloudCard.vue

@ -232,8 +232,8 @@
customerSid: this.page.customerSid, // c89f8631-e401-4010-a223-0caf3fabd5c6
transferSid: this.page.codeKey, //e2a9f5be-0abc-4146-a1e9-7e4148458d20
customerSid: 'c89f8631-e401-4010-a223-0caf3fabd5c6', // c89f8631-e401-4010-a223-0caf3fabd5c6
transferSid: 'e2a9f5be-0abc-4146-a1e9-7e4148458d20' //e2a9f5be-0abc-4146-a1e9-7e4148458d20
// customerSid: 'c89f8631-e401-4010-a223-0caf3fabd5c6', // c89f8631-e401-4010-a223-0caf3fabd5c6
// transferSid: 'e2a9f5be-0abc-4146-a1e9-7e4148458d20' //e2a9f5be-0abc-4146-a1e9-7e4148458d20
}
console.log("params+++++++++++++++", params);

2
pages/good/goodsDetail.vue

@ -335,7 +335,7 @@
// console.log(resp);
_this.data = resp
_this.getAllPriceOrWeight()
// _this.getAllPriceOrWeight()
_this.$nextTick(() => {
_this.$refs.pageView.setLoadState(2)

8
pages/good/goodsDetail2.vue

@ -193,11 +193,11 @@
// console.log(resp);
_this.data = resp
_this.getAllPriceOrWeight()
// _this.getAllPriceOrWeight()
// _this.$nextTick(() => {
// _this.$refs.pageView.setLoadState(2)
// })
_this.$nextTick(() => {
_this.$refs.pageView.setLoadState(2)
})
}).catch(e => {
_this.$nextTick(() => {
_this.$refs.pageView.setLoadState(1)

4
pages/good/reservation.vue

@ -159,7 +159,7 @@
<view style="display: flex;flex-direction: row;align-items: center;">
<text style="font-size: 12px;color: #FF5006;">存量</text>
<text
style="font-size: 14px;color: #FF5006;">{{item.goodsNumber}}{{item.unitName}}</text>
style="font-size: 14px;color: #FF5006;">{{item.goodsNumber}}</text>
</view>
@ -349,7 +349,7 @@
}
if (this.info.name == "" || this.info.phone == '') {
this.shortToast('请完善提人信息')
this.shortToast('请完善提人信息')
return
}

9
pages/good/transfer.vue

@ -572,7 +572,11 @@
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 8px;">
<text style="border: 1px #EE752F solid; border-radius: 5px; padding: 0px 8px;
font-size: 10px;color: #EE752F;">{{item.weight}}{{item.specificationUnit}}/{{item.unitName}}</text>
font-size: 10px;color: #EE752F;">{{item.weight}}</text>
<text
style="border: 1px #EE752F solid; border-radius: 5px; padding: 0px 8px;margin-left: 10px;
font-size: 10px;color: #EE752F;">{{item.quantityOfPackage}}{{item.unitName}}/{{item.specificationUnit}}</text>
<text
style="border: 1px #EE752F solid; background: #FF9900;margin-left: 10px; color: #fff; font-size: 10px;border-radius: 5px; padding: 0px 8px;"
@ -589,8 +593,7 @@
margin-right: 15px;">
<view style="display: flex;flex-direction: row;align-items: center;">
<text style="font-size: 10px;color: #FF5006;">存量</text>
<text
style="font-size: 14px;color: #FF5006;">{{item.goodsNumber}}{{item.unitName}}</text>
<text style="font-size: 14px;color: #FF5006;">{{item.goodsNumber}}</text>
</view>
<view style="display: flex;flex-direction: row;align-items: center;">

9
pages/home/cloudCard2.vue

@ -769,7 +769,14 @@
_this.data = resp
console.log("======", resp);
_this.baseDataSuccess = true
_this.getgoods()
if (_this.data.brandVos.length != 0) {
_this.getgoods()
} else {
_this.$nextTick(() => {
_this.$refs.pageView.setLoadState(2)
})
}
}).catch(e => {
_this.$nextTick(() => {
_this.$refs.pageView.setLoadState(1)

13
pages/home/myCellar.vue

@ -116,7 +116,7 @@
<text style="font-size: 12px;color: #666;">存量</text>
<!-- :style="{color:(item.state == '1' ? '#999' : '#FF5006')}" -->
<text :style="{color:(item.state == '1' ? '#999' : '#FF5006')}"
style="font-size: 14px;color: #FF5006;">{{item.goodsNumber}}{{item.unitName}}</text>
style="font-size: 14px;color: #FF5006;">{{item.goodsNumber}}</text>
</view>
<!-- :class="item.state=='0'?'oragin':'gray'" -->
@ -641,8 +641,17 @@
_this.pickingUpGoods = []
_this.baseDataSuccess = true
// _this.selectIndex = 0
_this.getgoods()
if (_this.data.length != 0) {
_this.getgoods()
} else {
_this.$nextTick(() => {
_this.$refs.pageView.setLoadState(2)
})
}
}).catch(e => {
console.log("vegeCellarTypeList>>>>", e);
_this.$nextTick(() => {
_this.$refs.pageView.setLoadState(1)
})

5
pages/home/myHome.vue

@ -71,13 +71,14 @@
</view>
<text class="name">我的订单</text>
</view>
<view class="icon-name" @click="itemClick('已失效')">
<!-- <view class="icon-name" @click="itemClick('已失效')">
<view class="icon">
<image class="img" src="../../static/img/record-query/invalid.png" mode="aspectFill">
</image>
</view>
<text class="name">已失效</text>
</view>
</view> -->
<view class="icon-name"></view>
<view class="icon-name"></view>
<view class="icon-name"></view>

Loading…
Cancel
Save