<!--pageage/samplingRetestingUpload/index.wxml-->
<view>
  
    <view class="inspect_overview_max">
        <view class="inspect_overview">
            <view class="module_title module_title_padding">
                <view>取样复试详情</view>
            </view>
            <view class="inspect_overview_list_max">
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="8"><text class="color_purple">项目名称</text></van-col>
                        <van-col span="16">{{retesData.projectName}}</van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="8"><text class="color_purple">复试类型</text></van-col>
                        <van-col span="16">{{retesData.typeFlagName}}</van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="8"><text class="color_purple">材料名称</text></van-col>
                        <van-col span="16">{{retesData.materialName == null ? '':positionName.materialName}}</van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="8"><text class="color_purple">商家名称</text></van-col>
                        <van-col span="16"><text class="color_type">{{retesData.businessName == null ? '' : retesData.businessName}}</text></van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="8"><text class="color_purple">使用部位</text></van-col>
                        <van-col span="16"><text class="color_type">{{retesData.positionName == null ? '' : retesData.positionName }}</text></van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="8"><text class="color_purple">取样数量组</text></van-col>
                        <van-col span="16"><text class="color_type">{{retesData.sampleNum == null ? '':retesData.sampleNum}}</text></van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="8"><text class="color_purple">是否提供合格证</text></van-col>
                        <van-col span="16"><text class="color_type">{{retesData.qualifiedFlag == null ? '':retesData.qualifiedFlag}}</text></van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="8"><text class="color_purple">代表数量</text></van-col>
                        <van-col span="16"><text class="color_type">{{retesData.represenNum == null ? '':retesData.represenNum }}</text></van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="8"><text class="color_purple">取样人</text></van-col>
                        <van-col span="16"><text class="color_type">{{retesData.sampleBy == null ? '':retesData.sampleBy}}</text></van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="8"><text class="color_purple">取样时间</text></van-col>
                        <van-col span="16"><text class="color_type">{{retesData.sampleTime == null ? '':retesData.sampleTime}}</text></van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="8"><text class="color_purple">见证人</text></van-col>
                        <van-col span="16"><text class="color_type">{{retesData.witnessBy == null ? '':retesData.witnessBy}}</text></van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="8"><text class="color_purple">实验室名称</text></van-col>
                        <van-col span="16"><text class="color_type">{{retesData.laboratoryName == null ? '':retesData.laboratoryName}}</text></van-col>
                    </van-row>
                </view>
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="8"><text class="color_purple">送检日期</text></van-col>
                        <van-col span="16"><text class="color_type">{{retesData.inspectionTime == null?'':retesData.inspectionTime }}</text></van-col>
                    </van-row>
                </view>
            </view>
        </view>
    </view>

    <view class="inspect_overview_max">
        <view class="inspect_overview">
            <view class="module_title module_title_padding">
                <view>检验结果</view>
            </view>
            <view class="inspect_overview_list_max" >
                <view class="inspect_overview_list">
                    <van-row>
                        <van-col span="8" ><text class="color_purple">检验结果</text></van-col>
                    </van-row>
                    
                    <view style="padding:20rpx;">
                        <van-radio-group value="{{ radio }}" disabled  bind:change="onChange"   
                            direction="{{horizontal}}" style="display: flex; padding:20rpx 0">
                            <van-radio name="1" custom-class="radio_custom_class" label-class="radio_label_class"  >合格</van-radio>
                            <van-radio name="2" custom-class="radio_custom_class" label-class="radio_label_class"  >不合格</van-radio>
                        </van-radio-group>
                    </view>
                  
                   
                </view>
                <view class="inspect_overview_list"  wx:if="{{detailFlag == 0}}">
                    <van-row>
                        <van-col span="8"><text class="color_purple">凭证上传</text></van-col>
                    </van-row>
                    <view class="result_project_name">
                        <file-uploader  bindimages="onImagesArr"></file-uploader>
                    </view>
                </view>
				<view class="inspect_overview_list"   wx:if="{{detailFlag == 1}}">
                    <van-row>
                        <van-col span="8"><text class="color_purple">凭证历史</text></van-col>
                    </van-row>
				
					<view class="in-img-max" style="margin-top: 10rpx;">
						<view class="in-img-div" wx:for="{{photoUrl}}" wx:key="index">
							<image bindtap='showImg' data-index="{{index}}" src='{{item}}'></image>
						</view>
					</view> 
                </view>
            </view>
            
        </view>
        <view class="add_btn" wx:if="{{detailFlag == 0}}" style="padding:50rpx 0;">
            <view class="add_btn_qx" bindtap="add_btn_qx">取消</view>
            <view class="add_btn_bc" bindtap="add_btn_bc">保存</view>
        </view>
       
    </view>

    

</view>


<van-overlay show="{{loadShow}}">
  <view class="gif">
    <image src="../../images/loding2.gif"></image>
    <view>数据加载中！请稍后...</view>
  </view>
</van-overlay>  