Commit 733dc164 authored by chuan.liu's avatar chuan.liu

bug修复

parent a0763dc7
This diff is collapsed.
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
"Pagesize": "100", "Pagesize": "100",
...this.signParams ...this.signParams
} }
// const res = await apiGetCategoryDetail(params) const res = await apiGetCategoryDetail(params)
const res2 = { const res2 = {
Data: [{ Data: [{
"TemplateID": "2", "TemplateID": "2",
......
...@@ -87,8 +87,8 @@ ...@@ -87,8 +87,8 @@
INFO, INFO,
ITEM, ITEM,
ATTACHMENT, ATTACHMENT,
"USER_BP": this.userInfo.code || "0081000010", "USER_BP": this.userInfo.code,
"ROLE": "WLYALL" "ROLE": "WLY001"
} }
const res = await apiUpdateGroupOrder(params) const res = await apiUpdateGroupOrder(params)
...@@ -104,8 +104,8 @@ ...@@ -104,8 +104,8 @@
"INFO": INFO2, "INFO": INFO2,
'ITEM': ITEM2, 'ITEM': ITEM2,
"ATTACHMENT": ATTACHMENT2, "ATTACHMENT": ATTACHMENT2,
"USER_BP": this.userInfo.code || "0081000010", "USER_BP": this.userInfo.code,
"ROLE": "WLYALL" "ROLE": "WLY001"
} }
const res2 = await apiUpdateGroupOrder(params2) const res2 = await apiUpdateGroupOrder(params2)
console.log('apiUpdateGroupOrder', res2) console.log('apiUpdateGroupOrder', res2)
......
...@@ -57,9 +57,9 @@ ...@@ -57,9 +57,9 @@
export default { export default {
data() { data() {
return { return {
account: '', account: '0050000215',
// password: 'DO1tjHPW0Z', // password: 'DO1tjHPW0Z',
password: '', password: 'Wly12345',
phone: '', phone: '',
code: '', code: '',
loginType: 'password', loginType: 'password',
......
...@@ -351,6 +351,15 @@ ...@@ -351,6 +351,15 @@
this.HEADINFO.ZZFLD000001 = this.selectedSalesCenter.KEY this.HEADINFO.ZZFLD000001 = this.selectedSalesCenter.KEY
}, },
nextStep() { nextStep() {
if (this.salesCenterIndex === -1) {
uni.showToast({
title: '请先选择营销中心',
duration: 2000,
icon: 'none'
});
return
}
let noQuotaOrder = { let noQuotaOrder = {
'ITEM': this.planinnerLists, 'ITEM': this.planinnerLists,
'item_d': [], 'item_d': [],
......
...@@ -556,6 +556,15 @@ ...@@ -556,6 +556,15 @@
this.HEADINFO.ZZFLD000001 = this.selectedSalesCenter.KEY this.HEADINFO.ZZFLD000001 = this.selectedSalesCenter.KEY
}, },
nextStep() { nextStep() {
if (this.salesCenterIndex === -1) {
uni.showToast({
title: '请先选择营销中心',
duration: 2000,
icon: 'none'
});
return
}
let quotaOrder = { let quotaOrder = {
'ITEM_INNER': this.planinnerLists, 'ITEM_INNER': this.planinnerLists,
'ITEM_OUTER': this.planoutLists, 'ITEM_OUTER': this.planoutLists,
......
...@@ -176,8 +176,8 @@ class Request { ...@@ -176,8 +176,8 @@ class Request {
// config.baseUrl = 'http://10.0.135.61' // config.baseUrl = 'http://10.0.135.61'
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/cyj'
} else if (config.url.indexOf('wmdpwebservices') !== -1) { } else if (config.url.indexOf('wmdpwebservices') !== -1) {
// config.baseUrl = 'https://10.0.134.182:9002' // config.baseUrl = 'https://10.0.134.182:9002'
config.baseUrl = 'http://221.10.127.60:5000/sczx' config.baseUrl = 'http://221.10.127.60:5000/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