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);