Browse Source

init

master
xubinxcode 3 years ago
parent
commit
5d37ccd300
3 changed files with 6 additions and 6 deletions
  1. +4
    -4
      src/components/HelloWorld.vue
  2. +1
    -1
      src/components/hotel.vue
  3. +1
    -1
      src/components/hotelother.vue

+ 4
- 4
src/components/HelloWorld.vue View File

@@ -52,7 +52,7 @@
</el-row>
</el-form-item>
<template v-for="(item,index) in hotelList">
<el-card class="card" shadow="hover" :key="index">
<el-card class="card" shadow="hover" :key="'hotel'+index">
<el-row type="flex" justify="end" v-if="type=='add'">
<i class="el-icon-close" @click="delSinHotel(index)"></i>
</el-row>
@@ -66,7 +66,7 @@
</el-row>
</el-form-item>
<template v-for="(item,index) in hotelotherList">
<el-card class="card" shadow="hover" :key="index">
<el-card class="card" shadow="hover" :key="'hotelother'+index">
<el-row type="flex" justify="end" v-if="type=='add'">
<i class="el-icon-close" @click="delSinHotelOther(index)"></i>
</el-row>
@@ -163,10 +163,10 @@
this.hotelotherList.push(JSON.parse(JSON.stringify(this.hotelotherListObj)))
},
delSinHotel(index) {
this.hotelList.splice(index,1)
this.hotelList.splice(index, 1)
},
delSinHotelOther(index) {
this.hotelotherList.splice(index,1)
this.hotelotherList.splice(index, 1)
},
onSubmit() {
console.log('submit!');


+ 1
- 1
src/components/hotel.vue View File

@@ -8,7 +8,7 @@
<el-col :span="2">
{{'酒店'}}
</el-col>
<el-col :span="2" push="3">
<el-col :span="2" :push="3">
<el-button>增补采购单</el-button>
</el-col>
<el-col :span="8">


+ 1
- 1
src/components/hotelother.vue View File

@@ -8,7 +8,7 @@
<el-col :span="2">
{{'附加项目'}}
</el-col>
<el-col :span="2" push="3">
<el-col :span="2" :push="3">
<el-button>增补采购单</el-button>
</el-col>
<el-col :span="8">


Loading…
Cancel
Save