mirror of
https://github.com/himool/HimoolERP.git
synced 2024-09-20 06:46:00 +08:00
feat: 调整
This commit is contained in:
parent
85381cae62
commit
babbf1ead9
|
@ -154,6 +154,10 @@ export default {
|
|||
page: this.searchForm.page,
|
||||
type: this.currentTab,
|
||||
};
|
||||
if (form.end_date) {
|
||||
form.end_date = moment(form.end_date).add(1, 'days').format('YYYY-MM-DD');
|
||||
}
|
||||
|
||||
financialStatistics(form).then((resp) => {
|
||||
this.statistics = resp;
|
||||
}).finally(() => {
|
||||
|
|
|
@ -70,7 +70,12 @@
|
|||
},
|
||||
list(start_date, end_date) {
|
||||
this.loading = true;
|
||||
purchasePaymentRecord({...this.searchForm, ...{ start_date, end_date }}).then(resp => {
|
||||
let form = {...this.searchForm, ...{ start_date, end_date }};
|
||||
if (form.end_date) {
|
||||
form.end_date = moment(form.end_date).add(1, 'days').format('YYYY-MM-DD');
|
||||
}
|
||||
|
||||
purchasePaymentRecord(form).then(resp => {
|
||||
this.totalRows = resp.count;
|
||||
this.items = resp.results;
|
||||
}).finally(() => {
|
||||
|
|
|
@ -69,7 +69,12 @@
|
|||
},
|
||||
list(start_date, end_date) {
|
||||
this.loading = true;
|
||||
purchaseReturnPaymentRecord({...this.searchForm, ...{ start_date, end_date }}).then(resp => {
|
||||
let form = {...this.searchForm, ...{ start_date, end_date }};
|
||||
if (form.end_date) {
|
||||
form.end_date = moment(form.end_date).add(1, 'days').format('YYYY-MM-DD');
|
||||
}
|
||||
|
||||
purchaseReturnPaymentRecord(form).then(resp => {
|
||||
this.totalRows = resp.count;
|
||||
this.items = resp.results;
|
||||
}).finally(() => {
|
||||
|
|
|
@ -69,7 +69,12 @@
|
|||
},
|
||||
list(start_date, end_date) {
|
||||
this.loading = true;
|
||||
salesPaymentRecord({...this.searchForm, ...{ start_date, end_date }}).then(resp => {
|
||||
let form = {...this.searchForm, ...{ start_date, end_date }};
|
||||
if (form.end_date) {
|
||||
form.end_date = moment(form.end_date).add(1, 'days').format('YYYY-MM-DD');
|
||||
}
|
||||
|
||||
salesPaymentRecord(form).then(resp => {
|
||||
this.totalRows = resp.count;
|
||||
this.items = resp.results;
|
||||
}).finally(() => {
|
||||
|
|
|
@ -69,7 +69,12 @@
|
|||
},
|
||||
list(start_date, end_date) {
|
||||
this.loading = true;
|
||||
salesReturnPaymentRecord({...this.searchForm, ...{ start_date, end_date }}).then(resp => {
|
||||
let form = {...this.searchForm, ...{ start_date, end_date }};
|
||||
if (form.end_date) {
|
||||
form.end_date = moment(form.end_date).add(1, 'days').format('YYYY-MM-DD');
|
||||
}
|
||||
|
||||
salesReturnPaymentRecord(form).then(resp => {
|
||||
this.totalRows = resp.count;
|
||||
this.items = resp.results;
|
||||
}).finally(() => {
|
||||
|
|
Loading…
Reference in a new issue