|
|
@ -8,7 +8,7 @@ var PageIndexY = 0 |
|
|
var PageSizeY = 10 |
|
|
var PageSizeY = 10 |
|
|
|
|
|
|
|
|
function getListN(that, PageIndex, PageSize, Customer_ID, StartDate, EndDate, successaction) { |
|
|
function getListN(that, PageIndex, PageSize, Customer_ID, StartDate, EndDate, successaction) { |
|
|
let method = '/MainSystem/B3MiniProgramRpc/Rpcs/ManagerRpc/SaleOutStoreRpc/GetSaleOutStore'; |
|
|
|
|
|
|
|
|
let method = '/MainSystem/B3MiniProgramRpc/XuRpcs/Employee/SaleOutStoreRpc/GetSaleOutStore'; |
|
|
let params = [{ |
|
|
let params = [{ |
|
|
"BillState": 0, |
|
|
"BillState": 0, |
|
|
"PageIndex": PageIndex, |
|
|
"PageIndex": PageIndex, |
|
|
@ -43,7 +43,7 @@ function setTimeN(that) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function getListY(that, PageIndex, PageSize, Customer_ID, StartDate, EndDate) { |
|
|
function getListY(that, PageIndex, PageSize, Customer_ID, StartDate, EndDate) { |
|
|
let method = '/MainSystem/B3MiniProgramRpc/Rpcs/ManagerRpc/SaleOutStoreRpc/GetSaleOutStore'; |
|
|
|
|
|
|
|
|
let method = '/MainSystem/B3MiniProgramRpc/XuRpcs/Employee/SaleOutStoreRpc/GetSaleOutStore'; |
|
|
let params = [{ |
|
|
let params = [{ |
|
|
"BillState": 20, |
|
|
"BillState": 20, |
|
|
"PageIndex": PageIndex, |
|
|
"PageIndex": PageIndex, |
|
|
@ -96,12 +96,11 @@ Page({ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
onShow: function () { |
|
|
onShow: function () { |
|
|
/* |
|
|
|
|
|
var that = this; |
|
|
var that = this; |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
Customer_ID: app.globalData.SaleOutCustomer_ID, |
|
|
|
|
|
StartDate: app.globalData.SaleOutStartDate, |
|
|
|
|
|
EndDate: app.globalData.SaleOutEndDate |
|
|
|
|
|
|
|
|
Customer_ID: app.globalData.selectCustomer_ID, |
|
|
|
|
|
StartDate: app.globalData.selectStartDate, |
|
|
|
|
|
EndDate: app.globalData.selectEndDate |
|
|
}) |
|
|
}) |
|
|
PageIndexN = 0 |
|
|
PageIndexN = 0 |
|
|
PageSizeN = 10 |
|
|
PageSizeN = 10 |
|
|
@ -110,7 +109,6 @@ Page({ |
|
|
getListN(that, PageIndexN, PageSizeN, this.data.Customer_ID, this.data.StartDate, this.data.EndDate, function (res) { |
|
|
getListN(that, PageIndexN, PageSizeN, this.data.Customer_ID, this.data.StartDate, this.data.EndDate, function (res) { |
|
|
getListY(that, PageIndexY, PageSizeY, that.data.Customer_ID, that.data.StartDate, that.data.EndDate); |
|
|
getListY(that, PageIndexY, PageSizeY, that.data.Customer_ID, that.data.StartDate, that.data.EndDate); |
|
|
}); |
|
|
}); |
|
|
*/ |
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -143,7 +141,7 @@ Page({ |
|
|
var that = this; |
|
|
var that = this; |
|
|
PageIndexN = PageIndexN + 1; |
|
|
PageIndexN = PageIndexN + 1; |
|
|
PageSizeN = 10; |
|
|
PageSizeN = 10; |
|
|
let method = '/MainSystem/B3MiniProgramRpc/Rpcs/ManagerRpc/SaleOutStoreRpc/GetSaleOutStore'; |
|
|
|
|
|
|
|
|
let method = '/MainSystem/B3MiniProgramRpc/XuRpcs/Employee/SaleOutStoreRpc/GetSaleOutStore'; |
|
|
let params = [{ |
|
|
let params = [{ |
|
|
"BillState": 0, |
|
|
"BillState": 0, |
|
|
"PageIndex": PageIndexN, |
|
|
"PageIndex": PageIndexN, |
|
|
@ -170,7 +168,7 @@ Page({ |
|
|
var that = this; |
|
|
var that = this; |
|
|
PageIndexY = PageIndexY + 1; |
|
|
PageIndexY = PageIndexY + 1; |
|
|
PageSizeY = 10; |
|
|
PageSizeY = 10; |
|
|
let method = '/MainSystem/B3MiniProgramRpc/Rpcs/ManagerRpc/SaleOutStoreRpc/GetSaleOutStore'; |
|
|
|
|
|
|
|
|
let method = '/MainSystem/B3MiniProgramRpc/XuRpcs/Employee/SaleOutStoreRpc/GetSaleOutStore'; |
|
|
let params = [{ |
|
|
let params = [{ |
|
|
"BillState": 20, |
|
|
"BillState": 20, |
|
|
"PageIndex": PageIndexY, |
|
|
"PageIndex": PageIndexY, |
|
|
@ -218,7 +216,7 @@ Page({ |
|
|
|
|
|
|
|
|
chose: function (e) { |
|
|
chose: function (e) { |
|
|
wx.navigateTo({ |
|
|
wx.navigateTo({ |
|
|
url: '/pages/SaleOutStoreChose/SaleOutStoreChose', |
|
|
|
|
|
|
|
|
url: 'query/query', |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |