|
|
|
@ -307,7 +307,7 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
this.query = {
|
|
|
|
|
billNo: "",
|
|
|
|
|
status: "3",
|
|
|
|
|
status: "",
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10,
|
|
|
|
|
startTime: "",
|
|
|
|
@ -322,14 +322,6 @@ export default {
|
|
|
|
|
this.showSearch = !this.showSearch;
|
|
|
|
|
},
|
|
|
|
|
onSubmit() {
|
|
|
|
|
if (this.actDateRange !== null) {
|
|
|
|
|
this.query.startTime = this.actDateRange[0];
|
|
|
|
|
this.query.endTime = this.actDateRange[1];
|
|
|
|
|
} else {
|
|
|
|
|
this.query.startTime = null;
|
|
|
|
|
this.query.endTime = null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
this.haveDistributionVisible = true;
|
|
|
|
|
},
|
|
|
|
@ -354,6 +346,13 @@ export default {
|
|
|
|
|
getList() {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
this.query.corpId = store.getters.customerId;
|
|
|
|
|
if (this.actDateRange !== null) {
|
|
|
|
|
this.query.startTime = this.actDateRange[0];
|
|
|
|
|
this.query.endTime = this.actDateRange[1];
|
|
|
|
|
} else {
|
|
|
|
|
this.query.startTime = null;
|
|
|
|
|
this.query.endTime = null;
|
|
|
|
|
}
|
|
|
|
|
stockOrderList(this.query)
|
|
|
|
|
.then(response => {
|
|
|
|
|
this.loading = false;
|
|
|
|
@ -492,10 +491,6 @@ export default {
|
|
|
|
|
this.getSubInvList();
|
|
|
|
|
this.getBusType();
|
|
|
|
|
this.getList();
|
|
|
|
|
let end = new Date();
|
|
|
|
|
let start = new Date();
|
|
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
|
|
|
|
|
this.actDateRange = [start, end];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|