>
<view class="uni-input" v-if="problemIndex || problemIndex == 0">{{
problemType[problemIndex].QuestionTypeName
}}</view>
<view class="picker_img" v-else>请选择</view>
</picker>
<u-image
class="icon" showLoading="true" src="@/static/image/pblic/xiayibu.png"
width="28rpx"
height="28rpx"
></u-image>
</view>
</view>
<view class="popup_item flex_space">
<view class="">问题原因</view>
<view class="desc flex">
<picker
@change="problemPickerChange" value="reasonIndex" range="problemList" range-key="QuestionName"
>
<view class="uni-input" v-if="reasonIndex || reasonIndex == 0">{{
problemList[reasonIndex].QuestionName
}}</view>
<view class="picker_img" v-else>请选择</view>
</picker>
<u-image
class="icon" showLoading="true" src="@/static/image/pblic/xiayibu.png"
width="28rpx"
height="28rpx"
></u-image>
</view>
</view>
<view class="popup_item flex_space">
<view class="">问题描述</view>
<view class="desc">
<input
type="text"
class="prop_input"
placeholder="请输入"
v-model="dataForm.QuestionWhy"
/>
</view>
</view>
<view class="popup_item flex_space">
<view class="">责任人</view>
<view class="desc flex">
<view class="picker_img" @tap="openPeron(1)" v-if="!personnelName"
>请选择</view
>
<view class="uni-input" @tap="openPeron(1)" v-else>{{
personnelName
}}</view>
<u-image
class="icon" showLoading="true" src="@/static/image/pblic/xiayibu.png"
width="28rpx"
height="28rpx"
></u-image>
</view>
</view>
<view class="popup_item flex_space">
<view class="">处理人</view>
<view class="desc flex">
<view
class="picker_img"
@tap="openPeron(2)"
v-if="!dataForm.ProcessingUserId"
>请选择</view
>
<view class="uni-input" v-else>{{ ProcessingName }}</view>
<u-image
class="icon" showLoading="true" src="@/static/image/pblic/xiayibu.png"
width="28rpx"
height="28rpx"
></u-image>
</view>
</view>
<view class="popup_item flex_space">
<view class="">处理方法</view>
<view class="desc flex">
<picker
@change="bindPickerChange" value="processingIndex" range="processingList" >
<view class="uni-input" v-if="processingIndex">{{
processingList[processingIndex]
}}</view>
<view class="picker_img" v-else>请选择</view>
</picker>
<u-image
class="icon" showLoading="true" src="@/static/image/pblic/xiayibu.png"
width="28rpx"
height="28rpx"
></u-image>
</view>
</view>
/部分方法/
/**选中问题类别 */
qualityPickerChange(e) {
console.log("e",e);
this.problemIndex = e.detail.value;
this.dataForm.ProblemCategory =
this.problemType[e.detail.value].QuestionTypeName;
},
/*选中问题原因 /
problemPickerChange(e) {
this.reasonIndex = e.detail.value;
this.dataForm.QroblemName = this.problemList[e.detail.value].QuestionName;
},