From 63b44a78ffe58198724dfcc01e8fa4e318c87d44 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Mon, 13 Jan 2020 15:22:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E6=B8=B8=E8=AE=A2=E5=8D=95=E7=94=9F?= =?UTF-8?q?=E6=88=90bug=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../createDownstreamOrder.html | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/Application/Admin/View/StatementMangement/createDownstreamOrder.html b/Application/Admin/View/StatementMangement/createDownstreamOrder.html index 80857897f..359783339 100644 --- a/Application/Admin/View/StatementMangement/createDownstreamOrder.html +++ b/Application/Admin/View/StatementMangement/createDownstreamOrder.html @@ -258,7 +258,9 @@ data = response.data; console.log(data) for (var i in data){ - add += "" + if (data[i].company_id) { + add += "" + } } $("#company_name").empty(); $("#company_name").append(add); @@ -314,7 +316,7 @@ ""+sumAmount+"" + "-" + "-" + - ""+sum+"" + + ""+sum.toFixed(2)+"" + ""+ "\n" + "本月分成总金额(人民币大写):" + @@ -336,7 +338,7 @@ console.log(ext_field); $("tbody").empty(); - $("#company_name").val(""); + // $("#company_name").val(""); $("#settlement_type").text(""); $("#bank_card").val(""); $("#account_openin").val(""); @@ -358,7 +360,7 @@ success:function(data){ console.log($("#company_name option:selected").attr('company-type')) - $("#company_name").val(data.data.company_name); + // $("#company_name").val(data.data.company_name); $("#settlement_type").text(data.data.settlement_type); $("#bank_card").val(data.data.bank_card); $("#account_openin").val(data.data.account_openin); @@ -377,10 +379,14 @@ dataType: 'json', success: function (response) { add +=''; - data = response.data; - console.log(data) - for (var i in data){ - add += "" + var datas = response.data; + + var widthdrawNumber = datas[0].widthdraw_number; + + console.log(datas) + for (var i in datas){ + + add += "" } $("#ext_field").empty(); $("#ext_field").append(add);