Browse Source

fix: bug

master
zhang_li 8 months ago
parent
commit
7acbe92020
  1. 7
      src/pages/overhaulOrder/detail.vue
  2. 11
      src/pages/repairOrder/detail.vue

7
src/pages/overhaulOrder/detail.vue

@ -65,8 +65,9 @@
<view class="title-txt">
{{item.name}}
</view>
<u-icon name="trash" color="#aaaaaa" size="40"
@click.native.stop="delService(item)"></u-icon>
<view class="" @click.stop="delService(item)">
<u-icon name="trash" color="#aaaaaa" size="40"></u-icon>
</view>
</view>
<view class="dec2">
<view>预估人数</view>
@ -168,7 +169,7 @@
const loading = ref(false)
const type = ref('')
const serviceList = ref([])
function change(index) {
current.value = index
changeItem.value = list.value[current.value]

11
src/pages/repairOrder/detail.vue

@ -136,15 +136,18 @@
</view>
<view class="list" v-if="changeItem.value == 3">
<view class="item " v-for="(item,index) in serviceList" :key="index"
@click="addSubForm('updata',item)">
@click.stop="addSubForm('updata',item)">
<view class="item-box">
<view class="spare-title">
<view class="title-txt">
{{item.describes}}
</view>
<u-icon name="trash" color="#aaaaaa" size="40"
v-if="data.status == 'PENDING' || data.status == 'PECEIVED'"
@click.native.stop="delService(item)"></u-icon>
<view class="" @click.stop="delService(item)">
<u-icon name="trash" color="#aaaaaa" size="40"
v-if="data.status == 'PENDING' || data.status == 'PECEIVED'"
></u-icon>
</view>
</view>
<view class="dec2">
<view>故障真因</view>

Loading…
Cancel
Save