qukaidi 4 lat temu
rodzic
commit
b146b4717d
1 zmienionych plików z 52 dodań i 52 usunięć
  1. 52 52
      luntai/index.html

+ 52 - 52
luntai/index.html

@@ -250,19 +250,19 @@
 				},
 				//  扫码出入库
 				scanInto: function (type) {
-					// if (this.agentInfo.status == 3) {
-					// 	api.confirm({
-					// 				title: '系统提示',
-					// 				msg: '门店已冻结,请找相关业务经理解冻!',
-					// 				buttons: ['确定', '激活']
-					// 			}, function (ret, err) {
-					// 				var index = ret.buttonIndex;
-					// 				if(index==2){
-					// 					_this.goWin("activation", "activation_win.html", "");
-					// 				}
-					// 			});
-					// 	return;
-					// }
+					if (this.agentInfo.status == 3) {
+						api.confirm({
+									title: '系统提示',
+									msg: '门店已冻结,请找相关业务经理解冻!',
+									buttons: ['确定', '激活']
+								}, function (ret, err) {
+									var index = ret.buttonIndex;
+									if(index==2){
+										_this.goWin("activation", "activation_win.html", "");
+									}
+								});
+						return;
+					}
 					var src = type == 1 ? 'saomaruku' : 'saomachuku';
 					this.goWin(src, src + '_win.html', '');
 				},
@@ -272,19 +272,19 @@
 					});
 				},
 				getStoreNet: function () {
-					// if (this.agentInfo.status == 3) {
-					// api.confirm({
-					// 				title: '系统提示',
-					// 				msg: '门店已冻结,请找相关业务经理解冻!',
-					// 				buttons: ['确定', '激活']
-					// 			}, function (ret, err) {
-					// 				var index = ret.buttonIndex;
-					// 				if(index==2){
-					// 					_this.goWin("activation", "activation_win.html", "");
-					// 				}
-					// 			});
-					// 	return;
-					// }
+					if (this.agentInfo.status == 3) {
+					api.confirm({
+									title: '系统提示',
+									msg: '门店已冻结,请找相关业务经理解冻!',
+									buttons: ['确定', '激活']
+								}, function (ret, err) {
+									var index = ret.buttonIndex;
+									if(index==2){
+										_this.goWin("activation", "activation_win.html", "");
+									}
+								});
+						return;
+					}
 					this.goWin("getStoreNet", "getStoreNet_win.html", {})
 				},
 				verifyBusiness: function () {
@@ -295,19 +295,19 @@
 					},
 						_this = this,
 						url = "verifyBusiness";
-					// if (this.agentInfo.status == 3) {
-					// 	api.confirm({
-					// 				title: '系统提示',
-					// 				msg: '门店已冻结,请找相关业务经理解冻!',
-					// 				buttons: ['确定', '激活']
-					// 			}, function (ret, err) {
-					// 				var index = ret.buttonIndex;
-					// 				if(index==2){
-					// 					_this.goWin("activation", "activation_win.html", "");
-					// 				}
-					// 	});
-					// 	return;
-					// }
+					if (this.agentInfo.status == 3) {
+						api.confirm({
+									title: '系统提示',
+									msg: '门店已冻结,请找相关业务经理解冻!',
+									buttons: ['确定', '激活']
+								}, function (ret, err) {
+									var index = ret.buttonIndex;
+									if(index==2){
+										_this.goWin("activation", "activation_win.html", "");
+									}
+						});
+						return;
+					}
 					this.$postuser(url, data, function (ret) {
 						if (ret.code == 0 && ret.data) {
 							_this.goWin("license_body", "license_body.html", {
@@ -346,19 +346,19 @@
 				//  扫码轮胎二维码
 				lipeiList: function () {
 					var _this = this;
-					// if (this.agentInfo.status == 3) {
-					// 	api.confirm({
-					// 				title: '系统提示',
-					// 				msg: '门店已冻结,请找相关业务经理解冻!',
-					// 				buttons: ['确定', '激活']
-					// 			}, function (ret, err) {
-					// 				var index = ret.buttonIndex;
-					// 				if(index==2){
-					// 					_this.goWin("activation", "activation_win.html", "");
-					// 				}
-					// 			});
-					// 	return;
-					// }
+					if (this.agentInfo.status == 3) {
+						api.confirm({
+									title: '系统提示',
+									msg: '门店已冻结,请找相关业务经理解冻!',
+									buttons: ['确定', '激活']
+								}, function (ret, err) {
+									var index = ret.buttonIndex;
+									if(index==2){
+										_this.goWin("activation", "activation_win.html", "");
+									}
+								});
+						return;
+					}
 					// 	this.goWin('settlementInfo', 'settlementInfo_win.html', {
 					// 		 code: '10000351'
 					//  });