diff --git a/ruoyi-admin/src/main/resources/templates/system/customerQuote/edit.html b/ruoyi-admin/src/main/resources/templates/system/customerQuote/edit.html index 623bc55f..02b8e8e5 100644 --- a/ruoyi-admin/src/main/resources/templates/system/customerQuote/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/customerQuote/edit.html @@ -155,34 +155,15 @@ }); var customerCode1 = [[${sysCustomerQuote.customerCode}]]; $(function() { - /*业务员列表*/ - // $.ajax({ - // url: ctx + 'system/salesOrder/getBinessMembers', - // type: 'get', - // success: function (res) { - // console.log(res) - // if (res.rows.length > 0) { - // var usertData = res.rows; - // //alert(JSON.stringify(data)); - // for (let i in usertData) { - // // console.log(finishProductData[i].finishProductCode) - // $("#form-customerQuote-edit select[name='businessMembers']").append(""); - // } - // $("#form-customerQuote-edit select[name='businessMembers']").val(sysCustomerQuote.businessMembers).trigger("change") - // } else { - // $.modal.msgError(res.msg); - // } + // $("input[name='customerFax']").val([sysCustomerQuote.customerFax]); + // $("input[name='rmbTax']").val([sysCustomerQuote.taxRate]); + // $("input[name='customerFax']").change(function () { + // if ($("input[name='customerFax']").val() == "1") { + // $("input[name='rmbTax']").val(sysCustomerQuote.taxRate); + // } else { + // $("input[name='rmbTax']").val(0); // } // }); - $("input[name='customerFax']").val([sysCustomerQuote.customerFax]); - $("input[name='rmbTax']").val([sysCustomerQuote.taxRate]); - $("input[name='customerFax']").change(function () { - if ($("input[name='customerFax']").val() == "1") { - $("input[name='rmbTax']").val(sysCustomerQuote.taxRate); - } else { - $("input[name='rmbTax']").val(0); - } - }); $("#commonCurrency_edit").val(sysCustomerQuote.commonCurrency).trigger('change'); }); $(function() {