Commit 11b66a7c authored by xiangzj's avatar xiangzj

UI修复

parent 2cf1ae9f
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
// "appid" : "__UNI__EDB6A1F", // "appid" : "__UNI__EDB6A1F",
"appid" : "__UNI__EDB6A1F", "appid" : "__UNI__EDB6A1F",
"description" : "订货系统", "description" : "订货系统",
"versionName" : "1.1.35", "versionName" : "1.1.36",
"versionCode" : "10135", "versionCode" : "10136",
"transformPx" : false, "transformPx" : false,
"app-plus" : { "app-plus" : {
/* 5+App特有相关 */ /* 5+App特有相关 */
...@@ -20,7 +20,10 @@ ...@@ -20,7 +20,10 @@
"nvue" : { "nvue" : {
"flex-direction" : "row" "flex-direction" : "row"
}, },
"modules" : {}, "modules" : {
"Barcode" : {},
"Camera" : {}
},
/* 模块配置 */ /* 模块配置 */
"distribute" : { "distribute" : {
/* 应用发布信息 */ /* 应用发布信息 */
...@@ -129,33 +132,33 @@ ...@@ -129,33 +132,33 @@
// "changeOrigin": true // "changeOrigin": true
// } // }
"/sap" : { "/sap" : {
"target" : "http://218.89.67.37:8001/wlySap", // "target" : "http://218.89.67.37:8001/wlySap",
// "target" : "http://221.10.127.60:5000/wlySap", "target" : "http://221.10.127.60:5000/wlySap",
"changeOrigin" : true "changeOrigin" : true
}, },
"/crm-app" : { "/crm-app" : {
"target" : "http://218.89.67.37:8001", // "target" : "https://crm.wuliangye.com.cn",
// "target" : "http://221.10.127.60:5000", "target" : "http://221.10.127.60:5000",
"changeOrigin" : true "changeOrigin" : true
}, },
"/wmdp-storeapp" : { "/wmdp-storeapp" : {
"target" : "http://218.89.67.37:8001/gateway/zdcx", // "target" : "https://crm.wuliangye.com.cn/gateway/zdcx",
// "target" : "http://221.10.127.60:5000/gateway/zdcx", "target" : "http://221.10.127.60:5000/gateway/zdcx",
"changeOrigin" : true "changeOrigin" : true
}, },
"/wmdpwebservices" : { "/wmdpwebservices" : {
"target" : "http://218.89.67.37:8001/gateway/sczx", // "target" : "https://crm.wuliangye.com.cn/gateway/sczx",
// "target" : "http://221.10.127.60:5000/gateway/sczx", "target" : "http://221.10.127.60:5000/gateway/sczx",
"changeOrigin" : true "changeOrigin" : true
}, },
"/adapter" : { "/adapter" : {
"target" : "http://api.wuliangcreart.com", // "target" : "http://api.wuliangcreart.com",
// "target" : "http://221.10.127.60:5000/gateway/cyj", "target" : "http://221.10.127.60:5000/gateway/cyj",
"changeOrigin" : true "changeOrigin" : true
}, },
"/uusafe" : { "/uusafe" : {
"target" : "https://apps.wuliangye.com.cn:9076", // "target" : "https://apps.wuliangye.com.cn:9076",
// "target" : "https://zzy.ipincloud.cn:9070", "target" : "https://zzy.ipincloud.cn:9070",
"changeOrigin" : true "changeOrigin" : true
} }
} }
......
...@@ -389,6 +389,7 @@ ...@@ -389,6 +389,7 @@
}, },
data() { data() {
return { return {
flag: false,
condition: { condition: {
submitMethod: '', submitMethod: '',
submitMethodName: '', submitMethodName: '',
...@@ -623,6 +624,10 @@ ...@@ -623,6 +624,10 @@
this.distributerByBarcode = {} this.distributerByBarcode = {}
}, },
async submit() { async submit() {
if(this.flag){
return
}
this.flag = true
let params = { let params = {
'supplyType': this.condition.supplyType, 'supplyType': this.condition.supplyType,
'auditTime': this.condition.auditTime, 'auditTime': this.condition.auditTime,
...@@ -679,11 +684,14 @@ ...@@ -679,11 +684,14 @@
uni.showToast({ uni.showToast({
title: '提报成功', title: '提报成功',
duration: 2000, duration: 2000,
icon: 'none' success: () => {
}); setTimeout(() => {
uni.navigateBack({ uni.navigateBack({delta:1})
delta:1 }, 1000)
}); }
})
}else{
this.flag = false
} }
}, },
handleScan() { handleScan() {
......
...@@ -265,6 +265,7 @@ ...@@ -265,6 +265,7 @@
this.salesCenterIndex = idx this.salesCenterIndex = idx
this.selectedSalesCenter = this.selectedSalesCenterArr[this.salesCenterIndex] this.selectedSalesCenter = this.selectedSalesCenterArr[this.salesCenterIndex]
this.HEADINFO.ZZFLD000001 = this.selectedSalesCenter.KEY this.HEADINFO.ZZFLD000001 = this.selectedSalesCenter.KEY
this.Marketing = this.selectedSalesCenterArr[this.salesCenterIndex].VALUE
} }
}); });
this.planinnerLists = [...this.groupOrder.ITEM] this.planinnerLists = [...this.groupOrder.ITEM]
......
...@@ -213,6 +213,7 @@ ...@@ -213,6 +213,7 @@
this.salesCenterIndex = 0 this.salesCenterIndex = 0
this.Marketing = this.selectedSalesCenterArr[0].VALUE this.Marketing = this.selectedSalesCenterArr[0].VALUE
} }
if (this.isKeepData) { if (this.isKeepData) {
const { const {
INFO, INFO,
...@@ -226,6 +227,7 @@ ...@@ -226,6 +227,7 @@
this.salesCenterIndex = YXDY.findIndex((item) => { this.salesCenterIndex = YXDY.findIndex((item) => {
return this.HEADINFO.ZZFLD000001 === item.KEY return this.HEADINFO.ZZFLD000001 === item.KEY
}) })
this.Marketing = this.selectedSalesCenterArr[this.salesCenterIndex].VALUE
return return
} }
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<view class="middle-date-des uni-list picker-year"> <view class="middle-date-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-des">{{item.description}}</text> <text class="middle-date-margin-des">{{item.description}}</text>
</view> </view>
</view> </view>
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image> <image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image>
...@@ -458,6 +458,16 @@ ...@@ -458,6 +458,16 @@
height: 96rpx; height: 96rpx;
color: #888; color: #888;
} }
.middle-date-margin-des{
flex: 3;
font-size: 28rpx;
color: #888;
margin-top: 20rpx;
margin-bottom: 20rpx;
width: 200%;
text-align: left;
justify-content: end;
}
.picker-year { .picker-year {
position: relative; position: relative;
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<view class="middle-date-des uni-list picker-year"> <view class="middle-date-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-des">{{item.description}}</text> <text class="middle-date-margin-des">{{item.description}}</text>
</view> </view>
</view> </view>
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image> <image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image>
...@@ -462,6 +462,16 @@ ...@@ -462,6 +462,16 @@
color: #888; color: #888;
} }
.middle-date-margin-des{
flex: 3;
font-size: 28rpx;
color: #888;
margin-top: 20rpx;
margin-bottom: 20rpx;
width: 200%;
text-align: left;
justify-content: end;
}
.picker-year { .picker-year {
position: relative; position: relative;
border-radius: 4px; border-radius: 4px;
......
...@@ -349,6 +349,7 @@ ...@@ -349,6 +349,7 @@
this.salesCenterIndex = YXDY.findIndex((item) => { this.salesCenterIndex = YXDY.findIndex((item) => {
return this.HEADINFO.ZZFLD000001 === item.KEY return this.HEADINFO.ZZFLD000001 === item.KEY
}) })
this.Marketing = this.selectedSalesCenterArr[this.salesCenterIndex].VALUE
return return
} }
this.planinnerLists[0] = { this.planinnerLists[0] = {
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</view> </view>
<view class="text-block"> <view class="text-block">
<text class="middle-date middle-date-select">描述</text> <text class="middle-date middle-date-select">描述</text>
<text class="middle-date-des middle-date-des-select">{{item.SHORT_TEXT}}</text> <text class="middle-date-margin-des middle-date-des-select">{{item.SHORT_TEXT}}</text>
</view> </view>
<view class="text-block"> <view class="text-block">
<text class="middle-date middle-date-select">产品类型</text> <text class="middle-date middle-date-select">产品类型</text>
...@@ -345,7 +345,7 @@ ...@@ -345,7 +345,7 @@
.text-block { .text-block {
display: flex; display: flex;
overflow: hidden; overflow: hidden;
height: 96rpx; // height: 96rpx;
margin-bottom: 14rpx; margin-bottom: 14rpx;
border-bottom: 1px solid #f4f5f6; border-bottom: 1px solid #f4f5f6;
} }
...@@ -373,7 +373,16 @@ ...@@ -373,7 +373,16 @@
text-overflow: ellipsis; text-overflow: ellipsis;
color: #888; color: #888;
} }
.middle-date-margin-des{
flex: 3;
font-size: 28rpx;
color: #888;
margin-top: 20rpx;
margin-bottom: 20rpx;
width: 200%;
text-align: left;
justify-content: end;
}
.middle-date-select { .middle-date-select {
color: #888; color: #888;
} }
......
...@@ -183,23 +183,23 @@ class Request { ...@@ -183,23 +183,23 @@ class Request {
if (config.url.indexOf('crm-app') !== -1) { if (config.url.indexOf('crm-app') !== -1) {
config.baseUrl = 'http://218.89.67.37:8001' // config.baseUrl = 'http://218.89.67.37:8001'
// 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.wuliangcreart.com' // config.baseUrl = 'http://api.wuliangcreart.com'
// config.baseUrl = 'http://221.10.127.60:5000/gateway/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://218.89.67.37:8001/gateway/sczx' // config.baseUrl = 'http://218.89.67.37:8001/gateway/sczx'
// config.baseUrl = 'http://221.10.127.60:5000/gateway/sczx' config.baseUrl = 'http://221.10.127.60:5000/gateway/sczx'
} else if (config.url.indexOf('wmdp-storeapp') !== -1) { } else if (config.url.indexOf('wmdp-storeapp') !== -1) {
config.baseUrl = 'http://218.89.67.37:8001/gateway/zdcx' // config.baseUrl = 'http://218.89.67.37:8001/gateway/zdcx'
// config.baseUrl = 'http://221.10.127.60:5000/gateway/zdcx' config.baseUrl = 'http://221.10.127.60:5000/gateway/zdcx'
} else if (config.url.indexOf('uusafe') !== -1) { } else if (config.url.indexOf('uusafe') !== -1) {
config.baseUrl = 'https://apps.wuliangye.com.cn:9076' // config.baseUrl = 'https://apps.wuliangye.com.cn:9076'
// config.baseUrl = 'https://zzy.ipincloud.cn:9070' config.baseUrl = 'https://zzy.ipincloud.cn:9070'
} else { } else {
config.baseUrl = 'http://218.89.67.37:8001/wlySap' // config.baseUrl = 'http://218.89.67.37:8001/wlySap'
// config.baseUrl = 'http://221.10.127.60:5000/wlySap' config.baseUrl = 'http://221.10.127.60:5000/wlySap'
} }
} catch (e) { } catch (e) {
console.log('error', e) console.log('error', e)
......
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