更新代码
This commit is contained in:
parent
379d1d83bc
commit
2f018a3294
@ -249,7 +249,6 @@ export default {
|
||||
},
|
||||
async getCensus() {
|
||||
const res = await getOrderCensus()
|
||||
console.log(res.data)
|
||||
this.census = res.data
|
||||
},
|
||||
}
|
||||
|
@ -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)
|
||||
},
|
||||
// 权益更改
|
||||
|
Loading…
Reference in New Issue
Block a user