This commit is contained in:
weipengfei 2024-02-04 09:59:24 +08:00
parent e7cee42f9f
commit fe2c5c28dc

View File

@ -485,17 +485,24 @@ export default {
// //
getChildOrder() { getChildOrder() {
this.loading = true; this.loading = true;
getChildrenOrderApi(this.orderId) this.activeName = 'detail'
.then((res) => { this.childOrder = []
this.activeName = 'detail' setTimeout(()=>{
this.childOrder = res.data
setTimeout(()=>{
this.loading = false; this.loading = false;
},500) },500)
})
.catch((res) => { // this.loading = true;
this.$message.error(res.message) // getChildrenOrderApi(this.orderId)
}) // .then((res) => {
// this.activeName = 'detail'
// this.childOrder = res.data
// setTimeout(()=>{
// this.loading = false;
// },500)
// })
// .catch((res) => {
// this.$message.error(res.message)
// })
}, },
// //
getOrderData() { getOrderData() {