Commit bd08511d authored by youjie's avatar youjie

修复

parent 23b7dc6c
......@@ -989,7 +989,7 @@
<u-number-box size="28" @change="yeChange" :min="0" :max="crCount" v-model="yeCount"></u-number-box>
</view>
<view class="line-flex" style="padding: 30rpx; background: #fff"
v-if="!createBy&&SaleList&&SaleList.length>1" @click="showSalePreviwe=true">
v-if="createBy==0&&SaleList&&SaleList.length>1" @click="showSalePreviwe=true">
<text style="font-size: 28rpx; color: #111; font-weight: 500">销售</text>
<text style="
font-size: 22rpx;
......@@ -1229,8 +1229,6 @@
}
if (option.createBy) {
this.createBy = option.createBy
}else{
this.getSale()
}
} else {
let t = decodeURIComponent(option.scene).split('&')
......@@ -1241,11 +1239,13 @@
this.delMsg.tcid = item[1]
} else if (item[0] === 'configId') {
this.delMsg.configId = item[1]
} else if (item[0] === 'createBy') {
this.createBy = item[1]
}
}
})
}
this.getSale()
this.getDetails();
this.U = uni.getStorageSync("mall_UserInfo");
this.b2bUser = uni.getStorageSync("b2b_user");
......@@ -1335,7 +1335,7 @@
if (res.resultCode == 1) {
if(res.data.length>0){
this.SaleList = res.data
if(res.data.length==1&&!this.createBy){
if(res.data.length==1&&this.createBy==0){
this.SaleName = res.data[0].EmName
this.SaleId = res.data[0].CreateBy
}
......
......@@ -645,7 +645,6 @@
x.denomination =x.expansionModel.denomination
}
})
console.log(this.pzCoupon,'------')
this.showPz = this.pzCoupon?true:false
},
changecheckbox(e, index, item) {
......
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