Browse Source

eam优化bug修复

master
ljlong_2630 4 months ago
parent
commit
dff9ed50ce
  1. 1
      src/pages/overhaulOrder/addForm.vue
  2. 5
      src/pages/overhaulOrder/detail.vue
  3. 3
      src/pages/overhaulOrder/index.vue

1
src/pages/overhaulOrder/addForm.vue

@ -290,6 +290,7 @@
faultType: form.value.faultType,
maintenance:form.value.maintenance,
subList: serviceList.value,
sourceType: form.value.sourceType,
}
if (form.value.id) {
proxy.$modal.confirm('是否修改检修工单').then(() => {

5
src/pages/overhaulOrder/detail.vue

@ -18,6 +18,10 @@
<view>故障类型</view>
<view>{{data.faultTypeName}}</view>
</view>
<view class="dec-item">
<view>来源类型</view>
<view>{{data.sourceTypeName}}</view>
</view>
<view class="dec-item" v-if="data.createTime">
<view>创建时间</view>
<view>{{$time.formatDate(data.createTime)}}</view>
@ -225,6 +229,7 @@
loading.value = true
overhaulOrderApi.orderClickFinish(paramseData,type.value).then((res) => {
if (res.data) {
proxy.$modal.showToast('操作成功')
setTimeout(() => {
// proxy.$tab.navigateTo(`/pages/overhaulOrder/index?type=${type.value}`)

3
src/pages/overhaulOrder/index.vue

@ -41,6 +41,9 @@
<view class="dec">
故障类型:<span>{{item.faultTypeName}}</span>
</view>
<view class="dec">
来源类型:<span>{{item.sourceTypeName}}</span>
</view>
</view>
<view class="bottom">
<view class="time" style="flex: 1;">

Loading…
Cancel
Save