确定派单后返回并刷新列表页

dev-jingling
jingling 9 months ago
parent c101a1657d
commit 40188a7fd2

@ -394,7 +394,6 @@ export default {
this.zhipanData.staffsName = this.dataForm.staffsName
this.zhipanData.orderClientStatusId = '520192868833300805' //
this.zhipanData.orderStaffsStatusId = '520192930493763909' //
this.zhipanData.receiveTime = new Date()
let _data = this.zhipanData
console.log(_data)
// console.log('--------------------');
@ -413,6 +412,7 @@ export default {
onClose: () => {
this.detailVisible = true
this.$emit('refresh', true)
this.$router.push('/recycleorder')
}
})
}).catch(() => {
@ -420,10 +420,9 @@ export default {
// this.continueBtnLoading = false
})
} else {
// todo
console.log('请至少选择一个回收员');
// console.log('');
alert('请至少选择一个回收员')
}
},
},

@ -182,7 +182,7 @@
<ExportBox v-if="exportBoxVisible" ref="ExportBox" @download="download" />
<ImportBox v-if="uploadBoxVisible" ref="UploadBox" @refresh="initData" />
<Detail v-if="detailVisible" ref="Detail" @refresh="detailVisible=false" />
<Detail v-if="detailVisible" ref="Detail" @refresh="initData()" />
<ToFormDetail v-if="toFormDetailVisible" ref="toFormDetail"
@close="toFormDetailVisible = false" />
<SuperQuery v-if="superQueryVisible" ref="SuperQuery" :columnOptions="superQueryJson"
@ -490,6 +490,7 @@ export default {
},
initData() {
this.listLoading = true;
this.detailVisible = false;
let _query = {
...this.listQuery,
...this.query,

Loading…
Cancel
Save