lvhao преди 4 седмици
родител
ревизия
b2b28c094b

+ 4 - 2
template/erp/fullorder_edit.html

@@ -531,7 +531,7 @@
 <em>快递方式:</em>
 <select name="express" class="select class">
 {loop express(100) as $val}
-<option value="{$val['id']}" data-type="{$val['type']}" {if $fullorder['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>
+<option value="{$val['id']}" data-sbpm="{$val['sbpm']}" data-type="{$val['type']}" {if $fullorder['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>
 {/loop}
 </select>
 <font class="expressfa"><i id="tipdata" class="fa fa-question-circle none"></i><font class="expressfa1 none"><font class="expressfa2" style="color:#903"></font></font></font>
@@ -1045,9 +1045,11 @@ var index = $("select[name='printtype']").find("option:selected").index();
 			}else{
 				let tmp_first_express =  $("select[name=express]  option")[0].data('type');
 				console.log(tmp_first_express)
-				$("select[name=printtype]").val('type')
+				$("select[name=printtype]").val(tmp_first_express)
 			}
 		}
+
+		
 		console.log("--------------------------")
 });
 function custom() {

+ 1 - 1
template/erp/fullorder_readonly.html

@@ -695,7 +695,7 @@ if($("select[name='express']").find("option:selected").val() == '24' || $("selec
 			}else{
 				let tmp_first_express =  $("select[name=express]  option")[0].data('type');
 				console.log(tmp_first_express)
-				$("select[name=printtype]").val('type')
+				$("select[name=printtype]").val(tmp_first_express)
 			}
 		}
 		console.log("--------------------------")

+ 1 - 1
template/erp/fullorderamz_edit.html

@@ -907,7 +907,7 @@ var index = $("select[name='printtype']").find("option:selected").index();
 		}else{
 			let tmp_first_express =  $("select[name=express]  option")[0].data('type');
 			console.log(tmp_first_express)
-			$("select[name=printtype]").val('type')
+			$("select[name=printtype]").val(tmp_first_express)
 		}
 	}
 	console.log("--------------------------")

+ 1 - 1
template/erp/fullorderamz_readonly.html

@@ -640,7 +640,7 @@ if($("select[name='express']").find("option:selected").val() == '24' || $("selec
 			}else{
 				let tmp_first_express =  $("select[name=express]  option")[0].data('type');
 				console.log(tmp_first_express)
-				$("select[name=printtype]").val('type')
+				$("select[name=printtype]").val(tmp_first_express)
 			}
 		}
 		console.log("--------------------------")

+ 1 - 1
template/erp/fullordersmt_edit.html

@@ -827,7 +827,7 @@ var index = $("select[name='printtype']").find("option:selected").index();
 		}else{
 			let tmp_first_express =  $("select[name=express]  option")[0].data('type');
 			console.log(tmp_first_express)
-			$("select[name=printtype]").val('type')
+			$("select[name=printtype]").val(tmp_first_express)
 		}
 	}
 	console.log("--------------------------")

+ 1 - 1
template/erp/fullordersmt_readonly.html

@@ -545,7 +545,7 @@ let printtype = "{$fullordersmt['printtype']}";
 		}else{
 			let tmp_first_express =  $("select[name=express]  option")[0].data('type');
 			console.log(tmp_first_express)
-			$("select[name=printtype]").val('type')
+			$("select[name=printtype]").val(tmp_first_express)
 		}
 	}
 	console.log("--------------------------")

+ 1 - 1
template/erp/fullordertt_edit.html

@@ -896,7 +896,7 @@ var index = $("select[name='printtype']").find("option:selected").index();
 			}else{
 				let tmp_first_express =  $("select[name=express]  option")[0].data('type');
 				console.log(tmp_first_express)
-				$("select[name=printtype]").val('type')
+				$("select[name=printtype]").val(tmp_first_express)
 			}
 		}
 		console.log("--------------------------")

+ 1 - 1
template/erp/fullordertt_readonly.html

@@ -643,7 +643,7 @@ if($("select[name='express']").find("option:selected").val() == '24' || $("selec
 			}else{
 				let tmp_first_express =  $("select[name=express]  option")[0].data('type');
 				console.log(tmp_first_express)
-				$("select[name=printtype]").val('type')
+				$("select[name=printtype]").val(tmp_first_express)
 			}
 		}
 		console.log("--------------------------")