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
680aac07
Commit
680aac07
authored
Mar 16, 2023
by
xiangzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复重复点击问题
parent
d61d34f6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
93 additions
and
12 deletions
+93
-12
order-upload.nvue
pages/group-buy/order-upload.nvue
+17
-1
order-item.nvue
pages/my-purchase/order-item.nvue
+13
-1
order-upload.nvue
pages/no-quota/order-upload.nvue
+18
-3
purchase-receive.nvue
pages/purchase-receive/purchase-receive.nvue
+9
-1
purchase-apply.nvue
pages/purchase/purchase-apply.nvue
+17
-4
order-upload.nvue
pages/quota/order-upload.nvue
+19
-2
No files found.
pages/group-buy/order-upload.nvue
View file @
680aac07
...
...
@@ -31,7 +31,7 @@
<view class="block-detal" v-for="item in groupOrder.ITEM">
<view class="block-detal-item">
<text class="detal-item-label">产品名称</text>
<text class="detal-item-
value
">{{item.DESCRIPTION}}</text>
<text class="detal-item-
des
">{{item.DESCRIPTION}}</text>
</view>
<view class="block-detal-item">
<text class="detal-item-label">数量(件)</text>
...
...
@@ -108,6 +108,7 @@
OBJECT_ID: ''
},
fileList: [],
flag: false
}
},
computed: {
...
...
@@ -131,6 +132,10 @@
},
methods: {
async updateGroupOrder() {
if(this.flag){
return
}
this.flag = true
let res1 = null
try{
const {
...
...
@@ -155,8 +160,10 @@
}
res1 = await apiUpdateGroupOrder(params)
if(res1.MSGTYPE !== 'S'){
this.flag = false
return
}
this.flag = false
const {
INFO: INFO3,
ITEM: ITEM3,
...
...
@@ -477,14 +484,23 @@
}
.detal-item-label {
flex: 2;
color: #999;
font-size: 24rpx;
}
.detal-item-value {
flex: 3;
color: #333;
font-size: 28rpx;
}
.detal-item-des {
flex: 3;
font-size: 28rpx;
color: #333;
width: 200%;
}
.remark-text {
flex: 1;
min-height: 100rpx;
...
...
pages/my-purchase/order-item.nvue
View file @
680aac07
...
...
@@ -65,10 +65,22 @@
<text class="detal-item-label">传统当年剩余量</text>
<text class="detal-item-value">{{ele.annualLeftQty}}</text>
</view> -->
<view class="block-detal-item
block-detal-item-last
">
<view class="block-detal-item">
<text class="detal-item-label">本次要货件数</text>
<text class="detal-item-value">{{ele.wantQuantity}}</text>
</view>
<view class="block-detal-item">
<text class="detal-item-label">基地审批数量</text>
<text class="detal-item-value">{{ele.baseAuditQuantity}}</text>
</view>
<view class="block-detal-item">
<text class="detal-item-label">战区审批数量</text>
<text class="detal-item-value">{{ele.warAuditQuantity}}</text>
</view>
<view class="block-detal-item block-detal-item-last">
<text class="detal-item-label">销售内勤审批数量</text>
<text class="detal-item-value">{{ele.salecenterAuditQuantity}}</text>
</view>
</view>
</uni-cell>
</view>
...
...
pages/no-quota/order-upload.nvue
View file @
680aac07
...
...
@@ -31,7 +31,7 @@
<view class="block-detal" v-for="item in noQuotaOrder.ITEM">
<view class="block-detal-item">
<text class="detal-item-label">产品名称</text>
<text class="detal-item-
value
">{{item.DESCRIPTION}}</text>
<text class="detal-item-
des
">{{item.DESCRIPTION}}</text>
</view>
<view class="block-detal-item">
<text class="detal-item-label">数量(件)</text>
...
...
@@ -112,7 +112,8 @@
OBJECT_ID: ''
},
fileList: [],
imgFileBase64: []
imgFileBase64: [],
flag: false
}
},
computed: {
...
...
@@ -136,6 +137,10 @@
},
methods: {
async updateQuotaOrder() {
if(this.flag){
return
}
this.flag = true
let res1 = null
try{
const {
...
...
@@ -158,8 +163,10 @@
}
res1 = await apiUpdateNoQuotaOrder(params)
if(res1.MSGTYPE !== 'S'){
this.flag = false
return
}
this.flag = false
const {
INFO: INFO3,
ITEM: ITEM3,
...
...
@@ -167,7 +174,7 @@
} = res1.DATA
this.orderInfo = INFO3
let noQuotaOrder = {
INFO:
INFO3
,
INFO:
{ ...INFO3, Marketing: this.noQuotaOrder.INFO.Marketing}
,
ITEM: ITEM3,
ATTACHMENT: ATTACHMENT3,
}
...
...
@@ -498,14 +505,22 @@
}
.detal-item-label {
flex: 2;
color: #999;
font-size: 24rpx;
}
.detal-item-value {
flex: 3;
color: #333;
font-size: 28rpx;
}
.detal-item-des {
flex: 3;
font-size: 28rpx;
color: #333;
width: 200%;
}
.remark-text {
flex: 1;
min-height: 100rpx;
...
...
pages/purchase-receive/purchase-receive.nvue
View file @
680aac07
...
...
@@ -181,7 +181,8 @@
remark: '',
fileList: [],
scrollTop: 0,
objectId: ''
objectId: '',
flag: false
}
},
props: {
...
...
@@ -460,6 +461,10 @@
return
}
}
if(this.flag){
return
}
this.flag = true
try {
const params = JSON.parse(JSON.stringify(this.orderItem))
params.wantGoodsDetailList = JSON.stringify(params.wantGoodsDetailList)
...
...
@@ -484,8 +489,11 @@
// url: '/pages/purchase/purchase'
// })
}
}else{
this.flag = false
}
} catch (e) {
this.flag = false
}
}
}
...
...
pages/purchase/purchase-apply.nvue
View file @
680aac07
...
...
@@ -122,9 +122,9 @@
async getChannelType(){
const res = await getChannelType({'salePlan': this.detail.planType})
this.channelTypeArr = res.data
if (this.detail.acceptUnitType =='V013'|| this .detail.acceptUnitType =='V015'){
this.channelTypeArr = [{ value: 'T', name: '团购渠道' }]
}
//
if (this.detail.acceptUnitType =='V013'|| this .detail.acceptUnitType =='V015'){
//
this.channelTypeArr = [{ value: 'T', name: '团购渠道' }]
//
}
if (this.detail.acceptUnitType =='v014'){
this.channelTypeArr = [{ value: 'Z', name: '终端团购渠道' }]
}
...
...
@@ -135,7 +135,20 @@
async getDetail(){
const res = await initAppWantGoods(this.orderItem)
for(let k in res.data){res.data[k] = res.data[k]===null?'':res.data[k]}
this.detail = {'shuntTypeName': ' ','shuntName': ' ','channelTypeName': '',...res.data, isPcj:0, isPcjName:'否',significance: 'normal',}
// sourceType区分货权转移
this.detail = {
'shuntTypeName': ' ',
'shuntName': ' ',
'channelTypeName': '',
...res.data,
isPcj:0,
isPcjName:'否',
significance: 'normal',
sourceType:1,
billstatus: "E001",
status: 0,
isShunt: '0',
}
this.getChannelType()
},
changeComponent(com) {
...
...
pages/quota/order-upload.nvue
View file @
680aac07
...
...
@@ -31,7 +31,7 @@
<view class="block-detal" v-for="item in quotaOrder.ITEM_INNER">
<view class="block-detal-item">
<text class="detal-item-label">产品名称</text>
<text class="detal-item-
value
">{{item.DESCRIPTION}}</text>
<text class="detal-item-
des
">{{item.DESCRIPTION}}</text>
</view>
<view class="block-detal-item">
<text class="detal-item-label">数量(件)</text>
...
...
@@ -50,7 +50,7 @@
<view class="block-detal" v-for="item in quotaOrder.ITEM_OUTER">
<view class="block-detal-item">
<text class="detal-item-label">产品名称</text>
<text class="detal-item-
value
">{{item.DESCRIPTION}}</text>
<text class="detal-item-
des
">{{item.DESCRIPTION}}</text>
</view>
<view class="block-detal-item">
<text class="detal-item-label">数量(件)</text>
...
...
@@ -158,6 +158,7 @@
OBJECT_ID: ''
},
fileList: [],
flag: false
}
},
computed: {
...
...
@@ -184,6 +185,10 @@
},
methods: {
async updateQuotaOrder() {
if(this.flag){
return
}
this.flag = true
let res1 = null
try{
const {
...
...
@@ -205,8 +210,10 @@
}
res1 = await apiUpdateQuotaOrder(params)
if(res1.MSGTYPE !== 'S'){
this.flag = false
return
}
this.flag = false
const {
INFO: INFO3,
ITEM_INNER: ITEM_INNER3,
...
...
@@ -216,6 +223,7 @@
this.orderInfo = INFO3
let quotaOrder = {
INFO: INFO3,
INFO: { ...INFO3, Marketing: this.quotaOrder.INFO.Marketing},
ITEM_INNER: ITEM_INNER3,
ITEM_OUTER: ITEM_OUTER3,
ATTACHMENT: ATTACHMENT3,
...
...
@@ -535,14 +543,23 @@
}
.detal-item-label {
flex: 2;
color: #999;
font-size: 24rpx;
}
.detal-item-value {
flex: 3;
color: #333;
font-size: 28rpx;
}
.detal-item-des {
flex: 3;
font-size: 28rpx;
color: #333;
width: 200%;
}
.remark-text {
flex: 1;
min-height: 100rpx;
...
...
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