|
@@ -321,22 +321,21 @@ $('#set-column').on('shown.bs.modal', function () {
|
|
|
}
|
|
|
});
|
|
|
|
|
|
-$('#set-glj-col').on('show.bs.modal', function () {
|
|
|
+$('#other_setting').on('show.bs.modal', function () {
|
|
|
let glj_col_setting = JSON.parse($("#glj_col").val());
|
|
|
- if(glj_col_setting.showAdjustPrice){
|
|
|
- $('#adjustPrice_cb').prop('checked',true);
|
|
|
- }else {
|
|
|
- $('#adjustPrice_cb').prop('checked',false);
|
|
|
- }
|
|
|
+ glj_col_setting.showAdjustPrice?$('#adjustPrice_cb').prop('checked',true): $('#adjustPrice_cb').prop('checked',false);
|
|
|
+ let isInstall = $("#isInstall").val() == 'true'?true:false;
|
|
|
+ $('#isInstall_cb').prop('checked',isInstall);
|
|
|
});
|
|
|
|
|
|
-$('#set-glj-comf').click(function () {
|
|
|
-
|
|
|
+$('#other_setting_comf').click(function () {
|
|
|
let showAdjustPrice = $('#adjustPrice_cb').prop('checked');
|
|
|
+ let isInstall = $('#isInstall_cb').prop('checked');
|
|
|
let glj_col_setting = {
|
|
|
showAdjustPrice :showAdjustPrice
|
|
|
};
|
|
|
$("#glj_col").val(JSON.stringify(glj_col_setting));
|
|
|
+ $("#isInstall").val(isInstall);
|
|
|
});
|
|
|
|
|
|
$('#col-count').change(function () {
|