更新代码

This commit is contained in:
xiao-fajia 2024-09-26 10:42:40 +08:00
parent 379d1d83bc
commit 2f018a3294
2 changed files with 7 additions and 2 deletions

View File

@ -249,7 +249,6 @@ export default {
},
async getCensus() {
const res = await getOrderCensus()
console.log(res.data)
this.census = res.data
},
}

View File

@ -214,7 +214,7 @@
</template>
<el-select v-model="formData.bookingId" size="small">
<el-option v-for="item in bookingList" :key="item.id" :value="item.id"
:label="parseTime(item.bookingTime)"/>
:label="item.bookingTime"/>
</el-select>
</el-descriptions-item>
<!-- <el-descriptions-item :span="3">-->
@ -734,6 +734,12 @@ export default {
method: "get"
})
this.bookingList = res.data
if (this.bookingList.length > 0) {
this.bookingList.forEach(item => {
console.log(item.bookingTime)
item.bookingTime = this.parseTime(item.bookingTime, '{y}-{m}-{d} {h}:{m}')
})
}
// console.log(this.bookingList,723)
},
//