Explorar o código

修改tt的cbt店铺的非cbt快递的加密信息校验

lvhao hai 20 horas
pai
achega
0081e40135
Modificáronse 1 ficheiros con 29 adicións e 2 borrados
  1. 29 2
      template/erp/fullordertt_edit.html

+ 29 - 2
template/erp/fullordertt_edit.html

@@ -792,7 +792,7 @@ $(".yzxx").click(function() {
 							label:'确定',
 							callback:function(id, button, event){
 								layx.destroy(id);
-								doyzxx_next()
+								doyzxx_jiamifahuo()
 							}
 						},
 						{
@@ -815,7 +815,7 @@ $(".yzxx").click(function() {
 							label:'确定',
 							callback:function(id, button, event){
 								layx.destroy(id);
-								doyzxx_next()
+								doyzxx_jiamifahuo()
 							}
 						},
 						{
@@ -837,6 +837,33 @@ $(".yzxx").click(function() {
 	 }
 	 
 });
+
+// 验证客户信息是否加密  发货
+function doyzxx_jiamifahuo(){
+	let city = $("input[name='city']").val();
+	if(city.indexOf("*") !== -1){
+		layx.confirm('提示','发现发货地址加密,是否继续发货?',null,{
+			buttons:[
+				{
+					label:'确定',
+					callback:function(id, button, event){
+						layx.destroy(id);
+						doyzxx_next()
+					}
+				},
+				{
+					label:'取消',
+					callback:function(id, button, event){
+						return layx.destroy(id);
+					}
+				}
+			]
+		});
+	}else{
+		doyzxx_next()
+	}
+}
+
 function doyzxx_next(){
 	var zsbjz = "{$fullordertt['zsbjz']}";
 	var data_shipremarks = $("input[name='data_shipremarks']").val();