Commit c3f92440 authored by youjie's avatar youjie

no message

parent 3d466f03
...@@ -477,7 +477,7 @@ tr._item_list td:last-child { ...@@ -477,7 +477,7 @@ tr._item_list td:last-child {
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item :label="$t('scen.sc_ftTime')"> <el-form-item :label="$t('scen.sc_ftTime')">
<StartDateLimit :clearable="false" :dateTime="productionDate" @change="(startDate,endDate)=>{msg.startDate=startDate,msg.endDate=endDate}"></StartDateLimit> <StartDateLimit :clearable="false" :dateTime="productionDate" @change="getStartDate"></StartDateLimit>
<!-- <el-date-picker <!-- <el-date-picker
class="h34" class="h34"
@change="timeAdd(1)" @change="timeAdd(1)"
...@@ -2652,6 +2652,18 @@ export default { ...@@ -2652,6 +2652,18 @@ export default {
}, },
components: {StartDateLimit}, components: {StartDateLimit},
watch: {
'$route': {
handler (val, oldVal) {
if (this.$route.query.BranchId) {
this.msg.OutBranchId = Number(this.$route.query.BranchId)
this.getPageList()
}
},
deep: true,
immediate: true
},
},
mounted() { mounted() {
let STime = this.getBeforeDate(31,this.getBeforeDate(0,new Date().Format("yyyy-MM-dd"))) let STime = this.getBeforeDate(31,this.getBeforeDate(0,new Date().Format("yyyy-MM-dd")))
let ETime = this.getBeforeDate(0,this.getBeforeDate(0,new Date().Format("yyyy-MM-dd"))) let ETime = this.getBeforeDate(0,this.getBeforeDate(0,new Date().Format("yyyy-MM-dd")))
...@@ -2737,6 +2749,10 @@ export default { ...@@ -2737,6 +2749,10 @@ export default {
this.GetSupperOrderEditAuth(); this.GetSupperOrderEditAuth();
}, },
methods: { methods: {
getStartDate(startDate,endDate){
this.msg.startDate=startDate
this.msg.endDate=endDate
},
getChange(val){ getChange(val){
if(this.msg.OutBranchId == -1){ if(this.msg.OutBranchId == -1){
this.coinGetShow = false this.coinGetShow = false
......
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