Commit 90bcf87a authored by 吴春's avatar 吴春

1

parent 347efa9a
...@@ -1219,6 +1219,7 @@ import popup from "../components/props/index"; ...@@ -1219,6 +1219,7 @@ import popup from "../components/props/index";
import searchBlock from "../components/searchProductdata/block"; import searchBlock from "../components/searchProductdata/block";
import searchList from "../components/searchProductdata/list"; import searchList from "../components/searchProductdata/list";
import kkday from "../components/searchProductdata/kkday.vue"; import kkday from "../components/searchProductdata/kkday.vue";
import {date} from 'quasar'
export default { export default {
components: { components: {
popup, popup,
...@@ -1420,12 +1421,10 @@ export default { ...@@ -1420,12 +1421,10 @@ export default {
watch:{ watch:{
qMsg:{ qMsg:{
handler(n,o){ handler(n,o){
console.log(n.searchKey,'====11111');
} }
} }
}, },
mounted() { mounted() {
console.log(this.qMsg.searchKey,'====11111');
// 支付宝退款 测试使用 // 支付宝退款 测试使用
// this.apipost("GetAliPayReturn_post",{OrderNo:'D202304121702420001'},r=>{ // this.apipost("GetAliPayReturn_post",{OrderNo:'D202304121702420001'},r=>{
// if(r.data.message=="退款成功"){ // if(r.data.message=="退款成功"){
...@@ -1457,12 +1456,19 @@ export default { ...@@ -1457,12 +1456,19 @@ export default {
if (qsearchKey) { if (qsearchKey) {
this.qMsg.searchKey = qsearchKey; this.qMsg.searchKey = qsearchKey;
} }
if (qsearchDate) { console.log("qsearchDate",qsearchDate);
if (qsearchDate&&qsearchDate.length>0) {
this.qMsg.startDate = qsearchDate; this.qMsg.startDate = qsearchDate;
} }
if (qsearchEndDate) { else{
this.qMsg.startDate =date.formatDate(date.addToDate(new Date(),{day:1}),'YYYY-MM-DD');
}
if (qsearchEndDate&&qsearchEndDate.length>0) {
this.qMsg.endDate = qsearchEndDate; this.qMsg.endDate = qsearchEndDate;
} }
else{
this.qMsg.endDate =date.formatDate(date.addToDate(new Date(),{month:2}),'YYYY-MM-DD');
}
if (areaId) { if (areaId) {
this.qMsg.areaId = Number(areaId); this.qMsg.areaId = Number(areaId);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment