解决客户、供应商对账金额错误的bug
This commit is contained in:
@@ -241,7 +241,7 @@
|
|||||||
supType: "customer"
|
supType: "customer"
|
||||||
}),
|
}),
|
||||||
success: function (res) {
|
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;
|
var moneyA = res.data.rows.getAllMoney.toFixed(2) - 0;
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "get",
|
type: "get",
|
||||||
@@ -254,7 +254,7 @@
|
|||||||
supType: "customer"
|
supType: "customer"
|
||||||
}),
|
}),
|
||||||
success: function (res) {
|
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 moneyB = res.data.rows.getAllMoney.toFixed(2) - 0;
|
||||||
var money = moneyA + moneyB;
|
var money = moneyA + moneyB;
|
||||||
var moneyBeginNeedGet = beginNeedGet - 0; //期初应收
|
var moneyBeginNeedGet = beginNeedGet - 0; //期初应收
|
||||||
@@ -289,7 +289,7 @@
|
|||||||
supType: "customer"
|
supType: "customer"
|
||||||
}),
|
}),
|
||||||
success: function (res) {
|
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;
|
var moneyA = res.data.rows.getAllMoney.toFixed(2) - 0;
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "get",
|
type: "get",
|
||||||
@@ -302,7 +302,7 @@
|
|||||||
supType: "customer"
|
supType: "customer"
|
||||||
}),
|
}),
|
||||||
success: function (res) {
|
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 moneyB = res.data.rows.getAllMoney.toFixed(2) - 0;
|
||||||
var money = moneyA + moneyB;
|
var money = moneyA + moneyB;
|
||||||
var moneyBeginNeedGet = beginNeedGet - 0; //期初应收
|
var moneyBeginNeedGet = beginNeedGet - 0; //期初应收
|
||||||
|
|||||||
@@ -240,7 +240,7 @@
|
|||||||
supType: "vendor"
|
supType: "vendor"
|
||||||
}),
|
}),
|
||||||
success: function (res) {
|
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;
|
var moneyA = res.data.rows.getAllMoney.toFixed(2) - 0;
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "get",
|
type: "get",
|
||||||
@@ -253,7 +253,7 @@
|
|||||||
supType: "vendor"
|
supType: "vendor"
|
||||||
}),
|
}),
|
||||||
success: function (res) {
|
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 moneyB = res.data.rows.getAllMoney.toFixed(2) - 0;
|
||||||
var money = moneyA + moneyB;
|
var money = moneyA + moneyB;
|
||||||
var moneyBeginNeedGet = beginNeedGet - 0; //期初应收
|
var moneyBeginNeedGet = beginNeedGet - 0; //期初应收
|
||||||
@@ -288,7 +288,7 @@
|
|||||||
supType: "vendor"
|
supType: "vendor"
|
||||||
}),
|
}),
|
||||||
success: function (res) {
|
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;
|
var moneyA = res.data.rows.getAllMoney.toFixed(2) - 0;
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "get",
|
type: "get",
|
||||||
@@ -301,7 +301,7 @@
|
|||||||
supType: "vendor"
|
supType: "vendor"
|
||||||
}),
|
}),
|
||||||
success: function (res) {
|
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 moneyB = res.data.rows.getAllMoney.toFixed(2) - 0;
|
||||||
var money = moneyA + moneyB;
|
var money = moneyA + moneyB;
|
||||||
var moneyBeginNeedGet = beginNeedGet - 0; //期初应收
|
var moneyBeginNeedGet = beginNeedGet - 0; //期初应收
|
||||||
|
|||||||
Reference in New Issue
Block a user