Commit 42f7f494 authored by xiangzj's avatar xiangzj

接口变更

parent 32c00b21
...@@ -419,6 +419,14 @@ ...@@ -419,6 +419,14 @@
}); });
}, },
selectAddress() { selectAddress() {
if(!this.selectedGroupClient.OBJNAME){
uni.showToast({
title: '请先选择团购单位',
duration: 2000,
icon: 'none'
});
return
}
uni.navigateTo({ uni.navigateTo({
url: `/pages/address-manage/address-manage?from=groupBaseInfo&head=${JSON.stringify(this.HEADINFO)}` url: `/pages/address-manage/address-manage?from=groupBaseInfo&head=${JSON.stringify(this.HEADINFO)}`
}); });
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<view class="middle-date-margin-des uni-list picker-year"> <view class="middle-date-margin-des uni-list picker-year">
<view class="uni-list-cell"> <view class="uni-list-cell">
<view class="uni-list-cell-db"> <view class="uni-list-cell-db">
<text class="middle-date-margin-des">{{item.ZZFLD00002Q_TEXT}}</text> <text class="middle-date-margin-des">{{item.ZZFLD00002Q_D}}</text>
</view> </view>
</view> </view>
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"> <image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit">
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
salesCenterIndex: -1, salesCenterIndex: -1,
planinnerLists: [{ planinnerLists: [{
checked: false, checked: false,
'ZZFLD00002Q_TEXT': '', 'ZZFLD00002Q_D': '',
"DESCRIPTION": "", "DESCRIPTION": "",
'NET_PRICE': 0, 'NET_PRICE': 0,
'NET_VALUE': 0, 'NET_VALUE': 0,
...@@ -220,7 +220,7 @@ ...@@ -220,7 +220,7 @@
item.SYS_FLAG = selectedSalePlan.SYS_FLAG item.SYS_FLAG = selectedSalePlan.SYS_FLAG
item.YEAR = selectedSalePlan.GJAHR item.YEAR = selectedSalePlan.GJAHR
item.ZZFLD00002Q = selectedSalePlan.PLAN_TYPE item.ZZFLD00002Q = selectedSalePlan.PLAN_TYPE
item.ZZFLD00002Q_TEXT = selectedSalePlan.PLAN_TYPE_DESC item.ZZFLD00002Q_D = selectedSalePlan.PLAN_TYPE_DESC
selectedProductSalePlan = { selectedProductSalePlan = {
...item ...item
} }
...@@ -405,7 +405,7 @@ ...@@ -405,7 +405,7 @@
checked: false, checked: false,
"PRODUCT_ID": "", "PRODUCT_ID": "",
"ORDERED_PROD": "", "ORDERED_PROD": "",
'ZZFLD00002Q_TEXT': '', 'ZZFLD00002Q_D': '',
"DESCRIPTION": "", "DESCRIPTION": "",
"SHORT_TEXT": "", "SHORT_TEXT": "",
'NET_PRICE': 0, 'NET_PRICE': 0,
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<view class="uni-list-cell-db"> <view class="uni-list-cell-db">
<picker class="picker-block" @change="bindPickerChange($event,'type')" :value="customerType" <picker class="picker-block" @change="bindPickerChange($event,'type')" :value="customerType"
range-key='name' mode="selector" :range="customerTypeArr"> range-key='name' mode="selector" :range="customerTypeArr">
<view class="uni-input">{{customerType || '请选择'}}</view> <text class="middle-date-des">{{customerType || '请选择'}}</text>
</picker> </picker>
</view> </view>
</view> </view>
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<view class="uni-list-cell-db"> <view class="uni-list-cell-db">
<picker class="picker-block" @change="bindPickerChange($event,'unit')" :value="marketUnit" <picker class="picker-block" @change="bindPickerChange($event,'unit')" :value="marketUnit"
range-key='MC_SHORT' mode="selector" :range="marketUnitArr"> range-key='MC_SHORT' mode="selector" :range="marketUnitArr">
<view class="uni-input">{{marketUnit || '请选择'}}</view> <text class="middle-date-des">{{marketUnit || '请选择'}}</text>
</picker> </picker>
</view> </view>
</view> </view>
......
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
uni.hideLoading(); uni.hideLoading();
if (isRefresh) { if (isRefresh) {
this.lists = res.data.setShuntingDetailList this.lists = res.data ? res.data.setShuntingDetailList : []
this.loadParams.isDone = false this.loadParams.isDone = false
} else { } else {
this.lists = this.lists.concat(res.data.setShuntingDetailList) this.lists = this.lists.concat(res.data.setShuntingDetailList)
......
...@@ -187,7 +187,7 @@ class Request { ...@@ -187,7 +187,7 @@ class Request {
config.baseUrl = 'http://221.10.127.60:5000' config.baseUrl = 'http://221.10.127.60:5000'
} else if (config.url.indexOf('adapter') !== -1) { } else if (config.url.indexOf('adapter') !== -1) {
// config.baseUrl = 'http://api.c0331.dev.guanyingyun.com' // config.baseUrl = 'http://api.c0331.dev.guanyingyun.com'
config.baseUrl = 'http://221.10.127.60:5000/cyj' config.baseUrl = 'http://221.10.127.60:5000/gateway/cyj'
} else if (config.url.indexOf('wmdpwebservices') !== -1) { } else if (config.url.indexOf('wmdpwebservices') !== -1) {
// config.baseUrl = 'http://10.0.134.182:9001' // config.baseUrl = 'http://10.0.134.182:9001'
config.baseUrl = 'http://221.10.127.60:5000/gateway/sczx' config.baseUrl = 'http://221.10.127.60:5000/gateway/sczx'
......
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