Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
wly-APP
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘川
wly-APP
Commits
d1d544a6
Commit
d1d544a6
authored
Oct 09, 2022
by
xiangzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公关团购优化
parent
fc014d8c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
3 deletions
+57
-3
group-baseinfo.nvue
pages/group-buy/group-baseinfo.nvue
+38
-2
order-upload.nvue
pages/group-buy/order-upload.nvue
+1
-1
quota-order.nvue
pages/group-buy/quota-order.nvue
+18
-0
No files found.
pages/group-buy/group-baseinfo.nvue
View file @
d1d544a6
...
...
@@ -266,6 +266,7 @@
const params = {
'PARTNER': this.userInfo.code
}
console.log(this.isKeepData,'isKeepDataisKeepData')
const res = await apiInitGroupData(params)
const {
HEAD,
...
...
@@ -283,10 +284,45 @@
'OBJNAME': this.groupOrder.INFO.GRPNAME,
'ID': this.groupOrder.INFO.GRPUTID
}
this.HEADINFO.GRPUTID = this.groupOrder.INFO.GRPUTID // 团购单位编码
this.HEADINFO.GRPNAME = this.groupOrder.INFO.GRPNAME // 团购单位名称
this.condition.GRPUTID = this.groupOrder.INFO.GRPUTID
// 商机选择
this.HEADINFO.BUSOPPID = this.groupOrder.INFO.BUSOPPID // 商机编码
this.HEADINFO.BUSINAME = this.groupOrder.INFO.BUSINAME // 商机名称
this.condition.BUSOPPID = this.groupOrder.INFO.BUSOPPID
this.selectedBusiness = {
'ID': this.groupOrder.INFO.BUSOPPID, // 团购单位编码
'NAME': this.groupOrder.INFO.BUSINAME // 团购单位名称
'ID': this.groupOrder.INFO.BUSOPPID,
'NAME': this.groupOrder.INFO.BUSINAME
}
// 收货单位
this.selectedAddress = {
NAME_ORG1: this.groupOrder.INFO.ZZFLD00008T_DSCR,
C_O_NAME: this.groupOrder.INFO.ZZFLD00002L,
TEL_NUMBER: this.groupOrder.INFO.ZZFLD00002M,
STREET: this.groupOrder.INFO.ZZFLD00002N,
}
this.HEADINFO.ZZFLD00002L = this.groupOrder.INFO.ZZFLD00002L
this.HEADINFO.ZZFLD00002M = this.groupOrder.INFO.ZZFLD00002M
this.HEADINFO.ZZFLD00008T = this.groupOrder.INFO.ZZFLD00008T
this.HEADINFO.ZZFLD00008T_DSCR = this.groupOrder.INFO.ZZFLD00008T_DSCR // 组织名称
this.HEADINFO.ZZFLD00002N = this.groupOrder.INFO.ZZFLD00002N
this.condition.ZZFLD00008T = this.groupOrder.INFO.ZZFLD00008T
this.condition.ZZFLD00002L = this.groupOrder.INFO.ZZFLD00002L
this.condition.ZZFLD00002M = this.groupOrder.INFO.ZZFLD00002M
this.condition.ZZFLD00002N = this.groupOrder.INFO.ZZFLD00002N
// 喷码方式
this.paintDesignPicker.forEach((ele,idx) => {
if (ele.key === this.groupOrder.INFO.PENGMETHOD) {
this.paintDesignIndex = idx
this.condition.PENGMETHOD = ele.key
this.HEADINFO.PENGMETHOD = ele.key
}
})
// 喷码内容
this.condition.ZZFLD000098 = this.groupOrder.INFO.ZZFLD000098
this.HEADINFO.ZZFLD000098 = this.groupOrder.INFO.ZZFLD000098
this.condition.BUSOPPID = this.groupOrder.INFO.BUSOPPID
}
},
...
...
pages/group-buy/order-upload.nvue
View file @
d1d544a6
...
...
@@ -165,7 +165,7 @@
this.updateGroupOrder()
},
preStep() {
this.$emit('click', 'quotaOrder')
this.$emit('click', 'quotaOrder'
, true
)
},
...mapMutations(["$uStore"]),
}
...
...
pages/group-buy/quota-order.nvue
View file @
d1d544a6
...
...
@@ -137,6 +137,12 @@
productInitInfo: {},
}
},
props: {
isKeepData: {
type: Boolean,
default: false
}
},
computed: {
...mapState(['groupOrder']),
intotalComputed() {
...
...
@@ -210,6 +216,7 @@
uni.$off('selectedGroupPlan')
},
created() {
console.log(this.isKeepData,'this.isKeepData',this.groupOrder)
const {
INFO,
ITEM
...
...
@@ -220,6 +227,17 @@
...ITEM[0]
}
this.productInitInfo = ITEM[0]
// 回显营销
if(this.isKeepData){
this.selectedSalesCenterArr.forEach((ele,idx) => {
if(ele.KEY === this.groupOrder.INFO.ZZFLD000001){
this.salesCenterIndex = idx
this.selectedSalesCenter = this.selectedSalesCenterArr[this.salesCenterIndex]
this.HEADINFO.ZZFLD000001 = this.selectedSalesCenter.KEY
}
});
this.planinnerLists = [...this.groupOrder.ITEM]
}
},
methods: {
async updateQuotaData(productIndex, mode, product) {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment