|
@@ -479,11 +479,7 @@
|
|
|
|
|
|
$(document).ready(function () {
|
|
$(document).ready(function () {
|
|
|
|
|
|
- $('.select_two').select2({
|
|
|
|
- placeholder: "请选择",
|
|
|
|
- allowClear: true,
|
|
|
|
- //tags: true // 允许输入新值
|
|
|
|
- });
|
|
|
|
|
|
+
|
|
var arg = "{$arg}";
|
|
var arg = "{$arg}";
|
|
if (arg == 2) {
|
|
if (arg == 2) {
|
|
$(".exp input[name='money']").val($(".packing .datatext .on td:eq(2)", window.parent.document).text());
|
|
$(".exp input[name='money']").val($(".packing .datatext .on td:eq(2)", window.parent.document).text());
|
|
@@ -513,6 +509,18 @@
|
|
else {
|
|
else {
|
|
$(".expwp .sonbut").html("<font class='packingtj'>提 交</font> <font class='datasavegb'>关 闭</font>");
|
|
$(".expwp .sonbut").html("<font class='packingtj'>提 交</font> <font class='datasavegb'>关 闭</font>");
|
|
}
|
|
}
|
|
|
|
+ $('.select_two').select2({
|
|
|
|
+ placeholder: "请选择",
|
|
|
|
+ allowClear: true,
|
|
|
|
+ //tags: true // 允许输入新值
|
|
|
|
+ });
|
|
|
|
+ $('.select_two').each(function (index, item) {
|
|
|
|
+ let tmp_value = $(item).val();
|
|
|
|
+ //alert(item.name+"="+tmp_value)
|
|
|
|
+
|
|
|
|
+ $(item).val(tmp_value).trigger('change');
|
|
|
|
+
|
|
|
|
+ });
|
|
});
|
|
});
|
|
|
|
|
|
$("select[name='category']").on("change", function () {
|
|
$("select[name='category']").on("change", function () {
|