' + this.shopName +
+ '" data-goodsType="' + this.goodsType + '" data-helpUserId="' + this.helpUserId + '" data-helpUserName="' + this.helpUser.userName + '">
' + this.shopName +
'
' + shopConfirmHtml + '
' +
this.status + '
'+
- '
'+each.level+':
'+'
'+each.userName.substr(0, 12)+'
'
+ if(goodsType == '3'){
+ var helpUserId = $(this).parent().parent().attr('data-helpUserId');
+ var helpUserName = $(this).parent().parent().attr('data-helpUserName');
+ $("#selectHelpLevel").show().data("user_id", helpUserId).data("user_name", helpUserName);
+ $("#displayHelpLevel").text(helpUserName)
+ JZL.ajax(qlgUrl('app/user_level/TreeList'),{},function(_zgData){
+ let _zgHtml = ""
+ for (let levelId in _zgData) {
+ let each = _zgData[levelId]
+ _zgHtml += '
'+
+ '
'+each.level+':
'+'
'+each.userName.substr(0, 12)+'
'
+ }
+ $("#pay_select_level .con_1").html(_zgHtml)
})
- $("#pay_select_level .con_1").html(_zgHtml)
- })
+ }else{
+ $("#selectHelpLevel").hide();
+ }
})
$('.bg').on('tap', '.mui-icon-left-nav', function() {
@@ -330,10 +339,10 @@ mui.plusReady(function() {
orderNo: orderNo
}
if(document.getElementById("displayHelpLevel").dataset["level_id"] !== undefined){
- data_send["helpLevel"] = document.getElementById("displayHelpLevel").dataset["level_id"]
+ data_ljfk["helpLevel"] = document.getElementById("displayHelpLevel").dataset["level_id"]
}
if(document.getElementById("displayHelpLevel").dataset["user_id"] !== undefined){
- data_send["helpUserId"] = document.getElementById("displayHelpLevel").dataset["user_id"]
+ data_ljfk["helpUserId"] = document.getElementById("displayHelpLevel").dataset["user_id"]
}
that.attr('disabled', 'disabled');
mui.ajax(hyhUrl('app/orders/succeed'), {
diff --git a/js/my_help_sale.js b/js/my_help_sale.js
index 30b27ca..8a997c1 100644
--- a/js/my_help_sale.js
+++ b/js/my_help_sale.js
@@ -9,7 +9,7 @@ mui.plusReady(function(){
'
'+each.level+'')
}
})
-
+
$("#userName").text(localStorage.getItem("userName"))
JZL.ajax(qlgUrl('app/users/getIndex'), {}, function(data) {
// console.log(data); //服务器返回响应,根据响应结果,分析是否登录成功;
@@ -31,9 +31,9 @@ mui.plusReady(function(){
$("#myHelpSaleOrder").on("tap", function(){
mui.openWindow({
url: 'indent.html',
- id: 'all',
+ id: 'zgall',
extras: {
- data_href: 'all'
+ data_href: 'zgall'
},
createNew: false, //是否重复创建同样id的webview,默认为false:不重复创建,直接显示
waiting: {
@@ -42,6 +42,80 @@ mui.plusReady(function(){
}
})
})
+ $(".waitSend").on("tap", function(){
+ mui.openWindow({
+ url: 'indent.html',
+ id: 'zgwaitDeliver',
+ extras: {
+ data_href: 'zgwaitDeliver'
+ },
+ createNew: false, //是否重复创建同样id的webview,默认为false:不重复创建,直接显示
+ waiting: {
+ autoShow: true, //自动显示等待框,默认为true
+ title: '正在加载...', //等待对话框上显示的提示内容
+ }
+ })
+ })
+ $(".waitDeliver").on("tap", function(){
+ mui.openWindow({
+ url: 'indent.html',
+ id: 'zgwaitReceive',
+ extras: {
+ data_href: 'zgwaitReceive'
+ },
+ createNew: false, //是否重复创建同样id的webview,默认为false:不重复创建,直接显示
+ waiting: {
+ autoShow: true, //自动显示等待框,默认为true
+ title: '正在加载...', //等待对话框上显示的提示内容
+ }
+ })
+ })
+ $(".waitAppraise").on("tap", function(){
+ mui.openWindow({
+ url: 'indent.html',
+ id: 'zgwaitAppraise',
+ extras: {
+ data_href: 'zgwaitAppraise'
+ },
+ createNew: false, //是否重复创建同样id的webview,默认为false:不重复创建,直接显示
+ waiting: {
+ autoShow: true, //自动显示等待框,默认为true
+ title: '正在加载...', //等待对话框上显示的提示内容
+ }
+ })
+ })
+ $(".abnormal").on("tap", function(){
+ mui.openWindow({
+ url: 'indent.html',
+ id: 'zgabnormal',
+ extras: {
+ data_href: 'zgabnormal'
+ },
+ createNew: false, //是否重复创建同样id的webview,默认为false:不重复创建,直接显示
+ waiting: {
+ autoShow: true, //自动显示等待框,默认为true
+ title: '正在加载...', //等待对话框上显示的提示内容
+ }
+ })
+ })
+ $(".helpSaleCart").on("tap", function(){
+ mui.openWindow({
+ url: "shoppingcart.html",
+ id: "shoppingcart.html_3",
+ extras: {
+ from_id: 3,
+ },
+ waiting: {
+ autoShow: true, //自动显示等待框,默认为true
+ title: '正在加载...', //等待对话框上显示的提示内容
+ options: {
+ // width: waiting - dialog - widht, //等待框背景区域宽度,默认根据内容自动计算合适宽度
+ // height: waiting - dialog - height, //等待框背景区域高度,默认根据内容自动计算合适高度
+ // ......
+ }
+ }
+ })
+ })
$("#toHelpSale").on("tap", function(){
JZL.openWindow('zhugouba.html', 'zhugouba.html');
})
diff --git a/js/shoppingcart.js b/js/shoppingcart.js
index 8a82562..58ce80a 100644
--- a/js/shoppingcart.js
+++ b/js/shoppingcart.js
@@ -574,8 +574,8 @@ mui.plusReady(function() {
extras: {
// data_id: data_id
- type: 0
-
+ type: 0,
+ from: from_id
// ..... //自定义扩展参数,可以用来处理页面间传值
},
createNew: false, //是否重复创建同样id的webview,默认为false:不重复创建,直接显示
diff --git a/js/zhugouba.js b/js/zhugouba.js
index 21e7641..92a245f 100644
--- a/js/zhugouba.js
+++ b/js/zhugouba.js
@@ -328,5 +328,5 @@ mui("body").on('tap', '.bc_img', function() {
var goodsId = $(this).attr('data-goodsId');
var shopId = $(this).parent().parent().attr('data-shopId');
var goodsType=$(this).attr('data-goodsType')
- JZL.openWindow('details.html', 'details.html' + goodsId, {data_id: goodsId,shopId: shopId,goodsType : goodsType, from_id:3});
+ JZL.openWindow('details.html', 'details.html' + goodsId, {data_id: goodsId,shopId: shopId,goodsType : 3, from_id:3});
})