Commit c1a69843 authored by 黄奎's avatar 黄奎

页面修改

parent d0399fda
...@@ -445,6 +445,7 @@ ...@@ -445,6 +445,7 @@
} }
this.requestJJSWAdmin(testCmd, postMsg, this.requestJJSWAdmin(testCmd, postMsg,
(res) => { (res) => {
console.log("111",res);
if (res.data.Data.length > 0) { if (res.data.Data.length > 0) {
this.namelist = res.data.Data this.namelist = res.data.Data
this.Thename = res.data.Data[0].StuName this.Thename = res.data.Data[0].StuName
...@@ -737,13 +738,10 @@ ...@@ -737,13 +738,10 @@
list.push(j.EduTeacherId) list.push(j.EduTeacherId)
}) })
}) })
// console.log('88888888888888888',list)
this.mrk = list.toString() this.mrk = list.toString()
// console.log('88888888888888888',this.mrk)
this.payInfo.GoodsName = this.mchs[0].goods_list[0].name.slice(0, 10); this.payInfo.GoodsName = this.mchs[0].goods_list[0].name.slice(0, 10);
this.formdata.DeliveryMethod = this.mchs[0].delivery.send_type; this.formdata.DeliveryMethod = this.mchs[0].delivery.send_type;
this.ds = res.data; this.ds = res.data;
console.log("this.ds ", this.ds)
this.expressPrice = 0.0; this.expressPrice = 0.0;
this.goodPrice = 0.0; this.goodPrice = 0.0;
this.couponPrice = 0.0; this.couponPrice = 0.0;
...@@ -791,12 +789,10 @@ ...@@ -791,12 +789,10 @@
0) { 0) {
rootItem.GoodsRelevanceList.forEach(qitem => { rootItem.GoodsRelevanceList.forEach(qitem => {
tempRelevancePrice += parseFloat(qitem.RelevancePrice); tempRelevancePrice += parseFloat(qitem.RelevancePrice);
console.log("tempRelevancePrice1", tempRelevancePrice)
}) })
} }
}) })
} }
console.log("tempRelevancePrice2", tempRelevancePrice)
//HK 2022-10-11 新增结束 //HK 2022-10-11 新增结束
this.goodPrice += parseFloat(x.total_goods_price) + parseFloat(tempRelevancePrice); this.goodPrice += parseFloat(x.total_goods_price) + parseFloat(tempRelevancePrice);
this.expressPrice += parseFloat(x.express_price); this.expressPrice += parseFloat(x.express_price);
......
...@@ -2,7 +2,7 @@ export default { ...@@ -2,7 +2,7 @@ export default {
install(Vue, options) { install(Vue, options) {
Vue.prototype.host = "https://wx.weibaoge.cn/web/index.php?_mall_id=1285" Vue.prototype.host = "https://wx.weibaoge.cn/web/index.php?_mall_id=1285"
Vue.prototype.host2 = "http://localhost:5000" Vue.prototype.host2 = "http://192.168.10.128:5000"
// Vue.prototype.host2 = "http://192.168.10.46:8200" // Vue.prototype.host2 = "http://192.168.10.46:8200"
// Vue.prototype.host2 = "https://mallApi.oytour.com" // Vue.prototype.host2 = "https://mallApi.oytour.com"
//进阶思维后台地址 //进阶思维后台地址
...@@ -139,21 +139,21 @@ export default { ...@@ -139,21 +139,21 @@ export default {
msg: postMsg msg: postMsg
}, },
success: res => { success: res => {
if (res.Code == 10000) { if (res.data.Code == 10000) {
let u = uni.getStorageSync("mall_UserInfo"); let u = uni.getStorageSync("mall_UserInfo");
if (u) { if (u) {
this.getLogin_t(u) this.getLogin_t(u)
} }
} else if (res.Code != 1) { } else if (res.data.Code != 1) {
if (res.Message != '') { if (res.Message != '') {
uni.showToast({ uni.showToast({
title: res.Message, title: res.Message,
icon: "none", icon: "none",
}); });
} }
typeof failed == "function" && failed(res.Data); typeof failed == "function" && failed(res);
} else { } else {
typeof success == "function" && success(res.Data); typeof success == "function" && success(res);
} }
}, },
fail: (e) => { fail: (e) => {
......
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