|
@@ -631,6 +631,22 @@ if($("select[name='express']").find("option:selected").val() == '24' || $("selec
|
|
{
|
|
{
|
|
$("select[name='qm']").html('<option value="0" {if $fullordertt["qm"] == 0}selected="selected"{/if}>不需要</option><option value="1" {if $fullordertt["qm"] == 1}selected="selected"{/if}>需要</option>');
|
|
$("select[name='qm']").html('<option value="0" {if $fullordertt["qm"] == 0}selected="selected"{/if}>不需要</option><option value="1" {if $fullordertt["qm"] == 1}selected="selected"{/if}>需要</option>');
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ let printtype = "{$fullod['printtype']}";
|
|
|
|
+ console.log("=====================")
|
|
|
|
+
|
|
|
|
+ if(printtype*1 == 0){
|
|
|
|
+ let tmp_express = $("select[name=express]").find("option:selected").val();
|
|
|
|
+ console.log(tmp_express)
|
|
|
|
+ if(tmp_express){
|
|
|
|
+ $("select[name=printtype]").val($("select[name=express]").find("option:selected").data('type'))
|
|
|
|
+ }else{
|
|
|
|
+ let tmp_first_express = $("select[name=express] option")[0].data('type');
|
|
|
|
+ console.log(tmp_first_express)
|
|
|
|
+ $("select[name=printtype]").val('type')
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ console.log("--------------------------")
|
|
});
|
|
});
|
|
function custom() {
|
|
function custom() {
|
|
var num = $('.packing .datatitle tr').children().length;
|
|
var num = $('.packing .datatitle tr').children().length;
|