|
|
@@ -304,7 +304,14 @@
|
|
304
|
304
|
},
|
|
305
|
305
|
methods: {
|
|
306
|
306
|
handleOpen(){
|
|
307
|
|
- if(this.createTimeTxt === null){
|
|
|
307
|
+ const wasNull = this.createTimeTxt === null;
|
|
|
308
|
+ // 从父组件 queryParams 同步发单日期到筛选内展示(默认当月等)
|
|
|
309
|
+ if (this.value.sendDateStart && this.value.sendDateEnd) {
|
|
|
310
|
+ this.createTimeTxt = this.value.sendDateStart + "至" + this.value.sendDateEnd;
|
|
|
311
|
+ } else {
|
|
|
312
|
+ this.createTimeTxt = "";
|
|
|
313
|
+ }
|
|
|
314
|
+ if (wasNull && this.$refs.jtimePickerPopup) {
|
|
308
|
315
|
this.$refs.jtimePickerPopup.handleInit();
|
|
309
|
316
|
}
|
|
310
|
317
|
},
|