From d2dc7810742ff09582a95978689540536ccfe6f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <852955+jishenghua@users.noreply.gitee.com> Date: Sat, 9 Mar 2019 18:17:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=AE=A2=E6=88=B7=E3=80=81?= =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E5=AF=B9=E8=B4=A6=E9=87=91=E9=A2=9D?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp_web/pages/reports/customer_account.html | 8 ++++---- erp_web/pages/reports/vendor_account.html | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/erp_web/pages/reports/customer_account.html b/erp_web/pages/reports/customer_account.html index f3966d01..d26fd2a7 100644 --- a/erp_web/pages/reports/customer_account.html +++ b/erp_web/pages/reports/customer_account.html @@ -241,7 +241,7 @@ supType: "customer" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyA = res.data.rows.getAllMoney.toFixed(2) - 0; $.ajax({ type: "get", @@ -254,7 +254,7 @@ supType: "customer" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyB = res.data.rows.getAllMoney.toFixed(2) - 0; var money = moneyA + moneyB; var moneyBeginNeedGet = beginNeedGet - 0; //期初应收 @@ -289,7 +289,7 @@ supType: "customer" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyA = res.data.rows.getAllMoney.toFixed(2) - 0; $.ajax({ type: "get", @@ -302,7 +302,7 @@ supType: "customer" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyB = res.data.rows.getAllMoney.toFixed(2) - 0; var money = moneyA + moneyB; var moneyBeginNeedGet = beginNeedGet - 0; //期初应收 diff --git a/erp_web/pages/reports/vendor_account.html b/erp_web/pages/reports/vendor_account.html index c5cb9740..119020c5 100644 --- a/erp_web/pages/reports/vendor_account.html +++ b/erp_web/pages/reports/vendor_account.html @@ -240,7 +240,7 @@ supType: "vendor" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyA = res.data.rows.getAllMoney.toFixed(2) - 0; $.ajax({ type: "get", @@ -253,7 +253,7 @@ supType: "vendor" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyB = res.data.rows.getAllMoney.toFixed(2) - 0; var money = moneyA + moneyB; var moneyBeginNeedGet = beginNeedGet - 0; //期初应收 @@ -288,7 +288,7 @@ supType: "vendor" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyA = res.data.rows.getAllMoney.toFixed(2) - 0; $.ajax({ type: "get", @@ -301,7 +301,7 @@ supType: "vendor" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyB = res.data.rows.getAllMoney.toFixed(2) - 0; var money = moneyA + moneyB; var moneyBeginNeedGet = beginNeedGet - 0; //期初应收