Commit d00c65bf authored by youjie's avatar youjie

优化

parent 1e814302
...@@ -1891,7 +1891,7 @@ ...@@ -1891,7 +1891,7 @@
let createBy = 0 let createBy = 0
// #ifdef MP-DI // #ifdef MP-DI
let employeeId = this.customer.directCustomerId?this.customer.directCustomerId:0 let employeeId = this.customer.salesBaseInfo&&this.customer.salesBaseInfo.employeeId?this.customer.salesBaseInfo.employeeId:0
createBy = this.createBy>0?this.createBy:employeeId createBy = this.createBy>0?this.createBy:employeeId
// #endif // #endif
// #ifdef MP-AG // #ifdef MP-AG
......
...@@ -1067,7 +1067,7 @@ ...@@ -1067,7 +1067,7 @@
this.submit = true; this.submit = true;
this.userInfo = uni.getStorageSync("mall_UserInfo"); this.userInfo = uni.getStorageSync("mall_UserInfo");
this.basedataObj = uni.getStorageSync("basedata").mall; this.basedataObj = uni.getStorageSync("basedata").mall;
var CustomerId = this.customer.customerId
let newobj = JSON.parse(JSON.stringify(this.GuestList)); let newobj = JSON.parse(JSON.stringify(this.GuestList));
newobj.forEach((x) => { newobj.forEach((x) => {
if (x.IsHightSchool) { if (x.IsHightSchool) {
...@@ -1084,6 +1084,7 @@ ...@@ -1084,6 +1084,7 @@
var ContactName = this.customer.SurName+this.customer.name; //联系人 var ContactName = this.customer.SurName+this.customer.name; //联系人
var ContactMobile = this.customer.contactNumber; //联系电话 var ContactMobile = this.customer.contactNumber; //联系电话
var CustomerType = 0; var CustomerType = 0;
var CustomerId = 0
// #ifdef MP-DI // #ifdef MP-DI
CustomerType = 4; CustomerType = 4;
// #endif // #endif
...@@ -1101,6 +1102,7 @@ ...@@ -1101,6 +1102,7 @@
// #ifdef MP-AG // #ifdef MP-AG
price = this.currentPriceInfo.b2BPrice; price = this.currentPriceInfo.b2BPrice;
CreateBy = this.CreateBy CreateBy = this.CreateBy
CustomerId = this.customer.customerId
// #endif // #endif
let CouponAllotIds = '' let CouponAllotIds = ''
if(this.useCouponIds.length>0){ if(this.useCouponIds.length>0){
......
...@@ -728,7 +728,7 @@ ...@@ -728,7 +728,7 @@
// #endif // #endif
let createBy = 0 let createBy = 0
// #ifdef MP-DI // #ifdef MP-DI
let employeeId = this.customer.directCustomerId?this.customer.directCustomerId:0 let employeeId = this.customer.salesBaseInfo&&this.customer.salesBaseInfo.employeeId?this.customer.salesBaseInfo.employeeId:0
createBy = this.createBy>0?this.createBy:employeeId createBy = this.createBy>0?this.createBy:employeeId
// #endif // #endif
// #ifdef MP-AG // #ifdef MP-AG
......
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