From b11ba135cd3c862263b07c4f89421b63416c9ec9 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Fri, 1 Nov 2024 11:07:39 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E9=94=80=E5=94=AE=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=A2=E6=88=B7=E6=8A=A5=E4=BB=B7=E7=9A=84?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=20=E5=9B=BD=E5=86=85?= =?UTF-8?q?=E7=A8=8E=E7=8E=87=E6=B2=A1=E6=9C=89=E5=80=BC=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/system/customerQuote/edit.html | 33 ++++--------------- 1 file changed, 7 insertions(+), 26 deletions(-) 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() {