Commit 43c3269a authored by youjie's avatar youjie

修复bug

parent 3a1c913b
......@@ -1166,7 +1166,7 @@
@click="SelectSales(item)">
<view>{{ item.EmName }}</view>
<view>
<u-radio-group v-model="SaleId" @change="SelectSales"
<u-radio-group v-model="SaleId"
style="position: relative;top:10rpx;">
<u-radio shape="circle" :name="item.CreateBy" :icon-size="36"
:active-color="mc"></u-radio>
......@@ -1462,6 +1462,7 @@
SelectSales(item){
this.SaleName = item.EmName
this.SaleId = item.CreateBy
console.log("SaleId--------444444", this.SaleId);
},
getUserCouponList() {
let couponParams = {
......@@ -1990,14 +1991,14 @@
yeCount: this.yeCount, //婴儿
etbCount: this.etbCount, //儿童不占床
};
let createBy = this.createBy>0?this.createBy:this.SaleId
let tParams = "&tcid=" +
this.delMsg.tcid +
"&cityId=" +
this.delMsg.cityId +
"&lineId=" +
this.dataList.lineId +
"&CreateBy=" +(this.createBy?this.createBy:this.SaleId);
console.log("tParams", tParams);
"&CreateBy=" +createBy;
uni.navigateTo({
url: "/pages/jiuzhai/jz_Reserve?currentPriceInfo=" +
encodeURIComponent(myCurr) +
......
......@@ -837,6 +837,13 @@
// return;
// }
// }
if(!this.CreateBy){
uni.showToast({
title: `销售为空,请联系销售人员!`,
icon: "none",
});
return
}
this.submit = true;
this.userInfo = uni.getStorageSync("mall_UserInfo");
this.basedataObj = uni.getStorageSync("basedata").mall;
......
......@@ -203,7 +203,7 @@
@click="SelectSales(item)">
<view>{{ item.EmName }}</view>
<view>
<u-radio-group v-model="SaleId" @change="SelectSales"
<u-radio-group v-model="SaleId"
style="position: relative;top:10rpx;">
<u-radio shape="circle" :name="item.CreateBy" :icon-size="36"
:active-color="mc"></u-radio>
......
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