|
|
@@ -56,9 +56,13 @@
|
|
|
<text class="info-value">{{ detailData.faultCode ?? '' }}</text>
|
|
|
</view>
|
|
|
<view class="info-item" v-if="detailData.orderType == 1">
|
|
|
- <text class="info-label">故障信息</text>
|
|
|
+ <text class="info-label">故障条纹</text>
|
|
|
<text class="info-value">{{ detailData.faultBarcode ?? '' }}</text>
|
|
|
</view>
|
|
|
+ <view class="info-item" v-if="detailData.orderType == 1 && faultDesc != ''">
|
|
|
+ <text class="info-label">故障描述</text>
|
|
|
+ <text class="info-value">{{ faultDesc }}</text>
|
|
|
+ </view>
|
|
|
<!-- <view class="info-item" v-if="detailData.orderType == 1">
|
|
|
<text class="info-label">工作负责人</text>
|
|
|
<view class="form-picker" @click="showLeaderPicker = true">
|
|
|
@@ -172,6 +176,7 @@
|
|
|
const dictLoaded = ref<boolean>(false)
|
|
|
let keyword = ref<string>("")
|
|
|
const inspectionTypeLabel = ref<string>("") //维保类型
|
|
|
+ const faultDesc = ref<string>("") //故障描述
|
|
|
|
|
|
// 详情数据
|
|
|
const detailData = ref<acceptOrderInfo2>({
|
|
|
@@ -478,13 +483,14 @@
|
|
|
workEndTime: data['workEndTime'] as string | null // 新增字段
|
|
|
}
|
|
|
detailData.value = orderDtail
|
|
|
+ faultDesc.value = (data['faultDesc'] as string | null) ?? ''
|
|
|
|
|
|
// 如果工单数据中已有负责人信息,设置到输入框中
|
|
|
if (orderDtail.teamLeaderName != null && orderDtail.teamLeaderName.length > 0) {
|
|
|
teamLeaderName.value = orderDtail.teamLeaderName as string
|
|
|
}
|
|
|
loadTeamLeaderList()
|
|
|
-
|
|
|
+
|
|
|
if(data['orderType'] == 2 && data['inspectionType'] != null) {
|
|
|
const result = await getDictDataByType("gxt_inspection_type")
|
|
|
const resultObj = result as UTSJSONObject
|