|
@@ -85,7 +85,7 @@
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view class="label">检查结果</view>
|
|
|
- <input v-if="editable()" v-model="item.checkResult" maxlength="50" />
|
|
|
+ <input v-if="editable()" v-model="item.checkResult" maxlength="50" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.checkResult }}</view>
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
@@ -95,26 +95,27 @@
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view :class="!editable() ? 'label' : ''">检查量</view>
|
|
|
- <input v-if="editable()" class="number" type="number"
|
|
|
- v-model="item.examiningNum" />
|
|
|
+ <input v-if="editable()" class="number" type="number" v-model="item.examiningNum" />
|
|
|
<view v-else class="number value" style="margin-left:16rpx;">{{ item.examiningNum }}</view>
|
|
|
<view :class="!editable() ? 'label' : ''">不良品量</view>
|
|
|
- <input v-if="editable()" class="number" type="number"
|
|
|
- v-model="item.disqualificationNum" />
|
|
|
+ <input v-if="editable()" class="number" type="number" v-model="item.disqualificationNum" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.disqualificationNum }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-<!-- 拍照上传部分 -->
|
|
|
- <view class="title unfit-title uni-row">
|
|
|
- <text>拍照上传</text>
|
|
|
- </view>
|
|
|
- <view class=" uni-row" style="padding: 24rpx;
|
|
|
+ <!-- 拍照上传部分 -->
|
|
|
+ <view class="title unfit-title uni-row">
|
|
|
+ <text>拍照上传</text>
|
|
|
+ </view>
|
|
|
+ <view class=" uni-row" style="padding: 24rpx;
|
|
|
margin: 0 16rpx;
|
|
|
background-color: #ffffff;
|
|
|
border-radius: 12rpx;">
|
|
|
- <uni-file-picker v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'deliveryInspection')].processInspectionPictureList" :readonly="true" return-type="array" :image-styles="imageStyles" file-mediatype="image" class="my-files" ></uni-file-picker>
|
|
|
- </view>
|
|
|
+ <uni-file-picker
|
|
|
+ v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'deliveryInspection')].processInspectionPictureList"
|
|
|
+ :readonly="true" return-type="array" :image-styles="imageStyles" file-mediatype="image"
|
|
|
+ class="my-files"></uni-file-picker>
|
|
|
+ </view>
|
|
|
<!-- 咨询部分 -->
|
|
|
<view class="title unfit-title uni-row">
|
|
|
<text>咨询</text>
|
|
@@ -144,15 +145,18 @@
|
|
|
</view>
|
|
|
<view class="result uni-row">
|
|
|
<view class="label" style="margin-top: 20rpx; margin-right: 10rpx;">放行状态</view>
|
|
|
- <uni-data-checkbox :disabled="true" style="margin-top: 20rpx;" v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'deliveryInspection')].status"
|
|
|
+ <uni-data-checkbox :disabled="true" style="margin-top: 20rpx;"
|
|
|
+ v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'deliveryInspection')].status"
|
|
|
:localdata="range"></uni-data-checkbox>
|
|
|
</view>
|
|
|
<view class="remark uni-row">
|
|
|
<view class="label">备注</view>
|
|
|
- <textarea v-if="editable()"
|
|
|
+ <textarea v-if="editable()"
|
|
|
v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'deliveryInspection')].remark" />
|
|
|
- <view v-else class="value">{{ inspectionList[inspectionList.findIndex(item =>item.type === 'deliveryInspection')].remark }}</view>
|
|
|
-
|
|
|
+ <view v-else class="value">
|
|
|
+ {{ inspectionList[inspectionList.findIndex(item =>item.type === 'deliveryInspection')].remark }}
|
|
|
+ </view>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -235,36 +239,37 @@
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view class="label">检查结果</view>
|
|
|
- <input v-if="editable()" v-model="item.checkResult" maxlength="50" />
|
|
|
+ <input v-if="editable()" v-model="item.checkResult" maxlength="50" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.checkResult }}</view>
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view class="label">超差范围</view>
|
|
|
- <input v-if="editable()" v-model="item.exceedLimits" maxlength="50" />
|
|
|
+ <input v-if="editable()" v-model="item.exceedLimits" maxlength="50" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.exceedLimits }}</view>
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view :class="!editable() ? 'label' : ''">检查量</view>
|
|
|
- <input v-if="editable()" class="number" type="number"
|
|
|
- v-model="item.examiningNum" />
|
|
|
+ <input v-if="editable()" class="number" type="number" v-model="item.examiningNum" />
|
|
|
<view v-else class="number value" style="margin-left:16rpx;">{{ item.examiningNum }}</view>
|
|
|
<view :class="!editable() ? 'label' : ''">不良品量</view>
|
|
|
- <input v-if="editable()" class="number" type="number"
|
|
|
- v-model="item.disqualificationNum" />
|
|
|
+ <input v-if="editable()" class="number" type="number" v-model="item.disqualificationNum" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.disqualificationNum }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-<!-- 拍照上传部分 -->
|
|
|
- <view class="title unfit-title uni-row">
|
|
|
- <text>拍照上传</text>
|
|
|
- </view>
|
|
|
- <view class=" uni-row" style="padding: 24rpx;
|
|
|
+ <!-- 拍照上传部分 -->
|
|
|
+ <view class="title unfit-title uni-row">
|
|
|
+ <text>拍照上传</text>
|
|
|
+ </view>
|
|
|
+ <view class=" uni-row" style="padding: 24rpx;
|
|
|
margin: 0 16rpx;
|
|
|
background-color: #ffffff;
|
|
|
border-radius: 12rpx;">
|
|
|
- <uni-file-picker v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'patrolInspection')].processInspectionPictureList" :readonly="true" return-type="array" :image-styles="imageStyles" file-mediatype="image" class="my-files" ></uni-file-picker>
|
|
|
- </view>
|
|
|
+ <uni-file-picker
|
|
|
+ v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'patrolInspection')].processInspectionPictureList"
|
|
|
+ :readonly="true" return-type="array" :image-styles="imageStyles" file-mediatype="image"
|
|
|
+ class="my-files"></uni-file-picker>
|
|
|
+ </view>
|
|
|
<!-- 咨询部分 -->
|
|
|
<view class="title unfit-title uni-row">
|
|
|
<text>咨询</text>
|
|
@@ -294,14 +299,17 @@
|
|
|
</view>
|
|
|
<view class="result uni-row">
|
|
|
<view class="label" style="margin-top: 20rpx; margin-right: 10rpx;">放行状态</view>
|
|
|
- <uni-data-checkbox :disabled="true" style="margin-top: 20rpx;" v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'patrolInspection')].status"
|
|
|
+ <uni-data-checkbox :disabled="true" style="margin-top: 20rpx;"
|
|
|
+ v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'patrolInspection')].status"
|
|
|
:localdata="range"></uni-data-checkbox>
|
|
|
</view>
|
|
|
<view class="remark uni-row">
|
|
|
<view class="label">备注</view>
|
|
|
- <textarea v-if="editable()"
|
|
|
+ <textarea v-if="editable()"
|
|
|
v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'patrolInspection')].remark" />
|
|
|
- <view v-else class="value">{{ inspectionList[inspectionList.findIndex(item =>item.type === 'patrolInspection')].remark }}</view>
|
|
|
+ <view v-else class="value">
|
|
|
+ {{ inspectionList[inspectionList.findIndex(item =>item.type === 'patrolInspection')].remark }}
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -385,36 +393,37 @@
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view class="label">检查结果</view>
|
|
|
- <input v-if="editable()" v-model="item.checkResult" maxlength="50" />
|
|
|
+ <input v-if="editable()" v-model="item.checkResult" maxlength="50" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.checkResult }}</view>
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view class="label">超差范围</view>
|
|
|
- <input v-if="editable()" v-model="item.exceedLimits" maxlength="50" />
|
|
|
+ <input v-if="editable()" v-model="item.exceedLimits" maxlength="50" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.exceedLimits }}</view>
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view :class="!editable() ? 'label' : ''">检查量</view>
|
|
|
- <input v-if="editable()" class="number" type="number"
|
|
|
- v-model="item.examiningNum" />
|
|
|
+ <input v-if="editable()" class="number" type="number" v-model="item.examiningNum" />
|
|
|
<view v-else class="number value" style="margin-left:16rpx;">{{ item.examiningNum }}</view>
|
|
|
<view :class="!editable() ? 'label' : ''">不良品量</view>
|
|
|
- <input v-if="editable()" class="number" type="number"
|
|
|
- v-model="item.disqualificationNum" />
|
|
|
+ <input v-if="editable()" class="number" type="number" v-model="item.disqualificationNum" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.disqualificationNum }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-<!-- 拍照上传部分 -->
|
|
|
- <view class="title unfit-title uni-row">
|
|
|
- <text>拍照上传</text>
|
|
|
- </view>
|
|
|
- <view class=" uni-row" style="padding: 24rpx;
|
|
|
+ <!-- 拍照上传部分 -->
|
|
|
+ <view class="title unfit-title uni-row">
|
|
|
+ <text>拍照上传</text>
|
|
|
+ </view>
|
|
|
+ <view class=" uni-row" style="padding: 24rpx;
|
|
|
margin: 0 16rpx;
|
|
|
background-color: #ffffff;
|
|
|
border-radius: 12rpx;">
|
|
|
- <uni-file-picker v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'instrumentRoomInspection')].processInspectionPictureList" :readonly="true" return-type="array" :image-styles="imageStyles" file-mediatype="image" class="my-files" ></uni-file-picker>
|
|
|
- </view>
|
|
|
+ <uni-file-picker
|
|
|
+ v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'instrumentRoomInspection')].processInspectionPictureList"
|
|
|
+ :readonly="true" return-type="array" :image-styles="imageStyles" file-mediatype="image"
|
|
|
+ class="my-files"></uni-file-picker>
|
|
|
+ </view>
|
|
|
<!-- 咨询部分 -->
|
|
|
<view class="title unfit-title uni-row">
|
|
|
<text>咨询</text>
|
|
@@ -444,14 +453,17 @@
|
|
|
</view>
|
|
|
<view class="result uni-row">
|
|
|
<view class="label" style="margin-top: 20rpx; margin-right: 10rpx;">放行状态</view>
|
|
|
- <uni-data-checkbox :disabled="true" style="margin-top: 20rpx;" v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'instrumentRoomInspection')].status"
|
|
|
+ <uni-data-checkbox :disabled="true" style="margin-top: 20rpx;"
|
|
|
+ v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'instrumentRoomInspection')].status"
|
|
|
:localdata="range"></uni-data-checkbox>
|
|
|
</view>
|
|
|
<view class="remark uni-row">
|
|
|
<view class="label">备注</view>
|
|
|
- <textarea v-if="editable()"
|
|
|
+ <textarea v-if="editable()"
|
|
|
v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'instrumentRoomInspection')].remark" />
|
|
|
- <view v-else class="value">{{ inspectionList[inspectionList.findIndex(item =>item.type === 'instrumentRoomInspection')].remark }}</view>
|
|
|
+ <view v-else class="value">
|
|
|
+ {{ inspectionList[inspectionList.findIndex(item =>item.type === 'instrumentRoomInspection')].remark }}
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -523,40 +535,40 @@
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view class="label">检查结果</view>
|
|
|
- <input v-if="editable()" v-model="item.checkResult" maxlength="50" />
|
|
|
+ <input v-if="editable()" v-model="item.checkResult" maxlength="50" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.checkResult }}</view>
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view class="label">超差范围</view>
|
|
|
- <input v-if="editable()" v-model="item.exceedLimits" maxlength="50" />
|
|
|
+ <input v-if="editable()" v-model="item.exceedLimits" maxlength="50" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.exceedLimits }}</view>
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view :class="!editable() ? 'label' : ''">检查量</view>
|
|
|
- <input v-if="editable()" class="number" type="number"
|
|
|
- v-model="item.examiningNum" />
|
|
|
+ <input v-if="editable()" class="number" type="number" v-model="item.examiningNum" />
|
|
|
<view v-else class="number value" style="margin-left:16rpx;">{{ item.examiningNum }}</view>
|
|
|
<view :class="!editable() ? 'label' : ''">不良品量</view>
|
|
|
- <input v-if="editable()" class="number" type="number"
|
|
|
- v-model="item.disqualificationNum" />
|
|
|
+ <input v-if="editable()" class="number" type="number" v-model="item.disqualificationNum" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.disqualificationNum }}</view>
|
|
|
<view :class="!editable() ? 'label' : ''">废品量</view>
|
|
|
- <input v-if="editable()" class="number" type="number"
|
|
|
- v-model="item.rejectNum" />
|
|
|
+ <input v-if="editable()" class="number" type="number" v-model="item.rejectNum" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.rejectNum }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-<!-- 拍照上传部分 -->
|
|
|
- <view class="title unfit-title uni-row">
|
|
|
- <text>拍照上传</text>
|
|
|
- </view>
|
|
|
- <view class=" uni-row" style="padding: 24rpx;
|
|
|
+ <!-- 拍照上传部分 -->
|
|
|
+ <view class="title unfit-title uni-row">
|
|
|
+ <text>拍照上传</text>
|
|
|
+ </view>
|
|
|
+ <view class=" uni-row" style="padding: 24rpx;
|
|
|
margin: 0 16rpx;
|
|
|
background-color: #ffffff;
|
|
|
border-radius: 12rpx;">
|
|
|
- <uni-file-picker v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'outsourcedInspector')].processInspectionPictureList" :readonly="true" return-type="array" :image-styles="imageStyles" file-mediatype="image" class="my-files" ></uni-file-picker>
|
|
|
- </view>
|
|
|
+ <uni-file-picker
|
|
|
+ v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'outsourcedInspector')].processInspectionPictureList"
|
|
|
+ :readonly="true" return-type="array" :image-styles="imageStyles" file-mediatype="image"
|
|
|
+ class="my-files"></uni-file-picker>
|
|
|
+ </view>
|
|
|
<!-- 咨询部分 -->
|
|
|
<view class="title unfit-title uni-row">
|
|
|
<text>咨询</text>
|
|
@@ -586,14 +598,17 @@
|
|
|
</view>
|
|
|
<view class="result uni-row">
|
|
|
<view class="label" style="margin-top: 20rpx; margin-right: 10rpx;">放行状态</view>
|
|
|
- <uni-data-checkbox :disabled="true" style="margin-top: 20rpx;" v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'outsourcedInspector')].status"
|
|
|
+ <uni-data-checkbox :disabled="true" style="margin-top: 20rpx;"
|
|
|
+ v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'outsourcedInspector')].status"
|
|
|
:localdata="range"></uni-data-checkbox>
|
|
|
</view>
|
|
|
<view class="remark uni-row">
|
|
|
<view class="label">备注</view>
|
|
|
- <textarea v-if="editable()"
|
|
|
+ <textarea v-if="editable()"
|
|
|
v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'outsourcedInspector')].remark" />
|
|
|
- <view v-else class="value">{{ inspectionList[inspectionList.findIndex(item =>item.type === 'outsourcedInspector')].remark }}</view>
|
|
|
+ <view v-else class="value">
|
|
|
+ {{ inspectionList[inspectionList.findIndex(item =>item.type === 'outsourcedInspector')].remark }}
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -665,36 +680,37 @@
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view class="label">检查结果</view>
|
|
|
- <input v-if="editable()" v-model="item.checkResult" maxlength="50" />
|
|
|
+ <input v-if="editable()" v-model="item.checkResult" maxlength="50" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.checkResult }}</view>
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view class="label">超差范围</view>
|
|
|
- <input v-if="editable()" v-model="item.exceedLimits" maxlength="50" />
|
|
|
+ <input v-if="editable()" v-model="item.exceedLimits" maxlength="50" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.exceedLimits }}</view>
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view :class="!editable() ? 'label' : ''">检查量</view>
|
|
|
- <input v-if="editable()" class="number" type="number"
|
|
|
- v-model="item.examiningNum" />
|
|
|
+ <input v-if="editable()" class="number" type="number" v-model="item.examiningNum" />
|
|
|
<view v-else class="number value" style="margin-left:16rpx;">{{ item.examiningNum }}</view>
|
|
|
<view :class="!editable() ? 'label' : ''">不良品量</view>
|
|
|
- <input v-if="editable()" class="number" type="number"
|
|
|
- v-model="item.disqualificationNum" />
|
|
|
+ <input v-if="editable()" class="number" type="number" v-model="item.disqualificationNum" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.disqualificationNum }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-<!-- 拍照上传部分 -->
|
|
|
- <view class="title unfit-title uni-row">
|
|
|
- <text>拍照上传</text>
|
|
|
- </view>
|
|
|
- <view class=" uni-row" style="padding: 24rpx;
|
|
|
+ <!-- 拍照上传部分 -->
|
|
|
+ <view class="title unfit-title uni-row">
|
|
|
+ <text>拍照上传</text>
|
|
|
+ </view>
|
|
|
+ <view class=" uni-row" style="padding: 24rpx;
|
|
|
margin: 0 16rpx;
|
|
|
background-color: #ffffff;
|
|
|
border-radius: 12rpx;">
|
|
|
- <uni-file-picker v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'factoryInspection')].processInspectionPictureList" :readonly="true" return-type="array" :image-styles="imageStyles" file-mediatype="image" class="my-files" ></uni-file-picker>
|
|
|
- </view>
|
|
|
+ <uni-file-picker
|
|
|
+ v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'factoryInspection')].processInspectionPictureList"
|
|
|
+ :readonly="true" return-type="array" :image-styles="imageStyles" file-mediatype="image"
|
|
|
+ class="my-files"></uni-file-picker>
|
|
|
+ </view>
|
|
|
<!-- 咨询部分 -->
|
|
|
<view class="title unfit-title uni-row">
|
|
|
<text>咨询</text>
|
|
@@ -724,14 +740,17 @@
|
|
|
</view>
|
|
|
<view class="result uni-row">
|
|
|
<view class="label" style="margin-top: 20rpx; margin-right: 10rpx;">放行状态</view>
|
|
|
- <uni-data-checkbox :disabled="true" style="margin-top: 20rpx;" v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'factoryInspection')].status"
|
|
|
+ <uni-data-checkbox :disabled="true" style="margin-top: 20rpx;"
|
|
|
+ v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'factoryInspection')].status"
|
|
|
:localdata="range"></uni-data-checkbox>
|
|
|
</view>
|
|
|
<view class="remark uni-row">
|
|
|
<view class="label">备注</view>
|
|
|
- <textarea v-if="editable()"
|
|
|
+ <textarea v-if="editable()"
|
|
|
v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'factoryInspection')].remark" />
|
|
|
- <view v-else class="value">{{ inspectionList[inspectionList.findIndex(item =>item.type === 'factoryInspection')].remark }}</view>
|
|
|
+ <view v-else class="value">
|
|
|
+ {{ inspectionList[inspectionList.findIndex(item =>item.type === 'factoryInspection')].remark }}
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -815,36 +834,37 @@
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view class="label">检查结果</view>
|
|
|
- <input v-if="editable()" v-model="item.checkResult" maxlength="50" />
|
|
|
+ <input v-if="editable()" v-model="item.checkResult" maxlength="50" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.checkResult }}</view>
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view class="label">超差范围</view>
|
|
|
- <input v-if="editable()" v-model="item.exceedLimits" maxlength="50" />
|
|
|
+ <input v-if="editable()" v-model="item.exceedLimits" maxlength="50" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.exceedLimits }}</view>
|
|
|
</view>
|
|
|
<view class="resu uni-row">
|
|
|
<view :class="!editable() ? 'label' : ''">检查量</view>
|
|
|
- <input v-if="editable()" class="number" type="number"
|
|
|
- v-model="item.examiningNum" />
|
|
|
+ <input v-if="editable()" class="number" type="number" v-model="item.examiningNum" />
|
|
|
<view v-else class="number value" style="margin-left:16rpx;">{{ item.examiningNum }}</view>
|
|
|
<view :class="!editable() ? 'label' : ''">不良品量</view>
|
|
|
- <input v-if="editable()" class="number" type="number"
|
|
|
- v-model="item.disqualificationNum" />
|
|
|
+ <input v-if="editable()" class="number" type="number" v-model="item.disqualificationNum" />
|
|
|
<view v-else class="value" style="margin-left:16rpx;">{{ item.disqualificationNum }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-<!-- 拍照上传部分 -->
|
|
|
- <view class="title unfit-title uni-row">
|
|
|
- <text>拍照上传</text>
|
|
|
- </view>
|
|
|
- <view class=" uni-row" style="padding: 24rpx;
|
|
|
+ <!-- 拍照上传部分 -->
|
|
|
+ <view class="title unfit-title uni-row">
|
|
|
+ <text>拍照上传</text>
|
|
|
+ </view>
|
|
|
+ <view class=" uni-row" style="padding: 24rpx;
|
|
|
margin: 0 16rpx;
|
|
|
background-color: #ffffff;
|
|
|
border-radius: 12rpx;">
|
|
|
- <uni-file-picker v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'firstArticleInspection')].processInspectionPictureList" :readonly="true" return-type="array" :image-styles="imageStyles" file-mediatype="image" class="my-files" ></uni-file-picker>
|
|
|
- </view>
|
|
|
+ <uni-file-picker
|
|
|
+ v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'firstArticleInspection')].processInspectionPictureList"
|
|
|
+ :readonly="true" return-type="array" :image-styles="imageStyles" file-mediatype="image"
|
|
|
+ class="my-files"></uni-file-picker>
|
|
|
+ </view>
|
|
|
<!-- 咨询部分 -->
|
|
|
<view class="title unfit-title uni-row">
|
|
|
<text>咨询</text>
|
|
@@ -874,14 +894,17 @@
|
|
|
</view>
|
|
|
<view class="result uni-row">
|
|
|
<view class="label" style="margin-top: 20rpx; margin-right: 10rpx;">放行状态</view>
|
|
|
- <uni-data-checkbox :disabled="true" style="margin-top: 20rpx;" v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'firstArticleInspection')].status"
|
|
|
+ <uni-data-checkbox :disabled="true" style="margin-top: 20rpx;"
|
|
|
+ v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'firstArticleInspection')].status"
|
|
|
:localdata="range"></uni-data-checkbox>
|
|
|
</view>
|
|
|
<view class="remark uni-row">
|
|
|
<view class="label">备注</view>
|
|
|
<textarea v-if="editable()"
|
|
|
v-model="inspectionList[inspectionList.findIndex(item =>item.type === 'firstArticleInspection')].remark" />
|
|
|
- <view v-else class="value">{{ inspectionList[inspectionList.findIndex(item =>item.type === 'firstArticleInspection')].remark }}</view>
|
|
|
+ <view v-else class="value">
|
|
|
+ {{ inspectionList[inspectionList.findIndex(item =>item.type === 'firstArticleInspection')].remark }}
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -936,9 +959,9 @@
|
|
|
return false
|
|
|
}
|
|
|
const imageStyles = {
|
|
|
- width:60,
|
|
|
- height:60
|
|
|
- }
|
|
|
+ width: 60,
|
|
|
+ height: 60
|
|
|
+ }
|
|
|
|
|
|
const consul = [{
|
|
|
value: 0,
|
|
@@ -1019,12 +1042,12 @@
|
|
|
};
|
|
|
}
|
|
|
});
|
|
|
- res.data.forEach(item =>{
|
|
|
- item.processInspectionPictureList.forEach(i=>{
|
|
|
+ res.data.forEach(item => {
|
|
|
+ item.processInspectionPictureList.forEach(i => {
|
|
|
i.url = webHost.value + i.url
|
|
|
})
|
|
|
})
|
|
|
- console.log( res.data)
|
|
|
+ console.log(res.data)
|
|
|
inspectionList.value = res.data
|
|
|
isActived.value = processInspectionTypeList.value[0]
|
|
|
console.log(processInspectionTypeList.value)
|
|
@@ -1047,30 +1070,32 @@
|
|
|
// return consul[i].text
|
|
|
// }
|
|
|
// }
|
|
|
- if(item.consultResultId == 0) {
|
|
|
+ if (item.consultResultId == 0) {
|
|
|
return '待确认'
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
return item.result
|
|
|
}
|
|
|
}
|
|
|
//确定领取
|
|
|
function handleConfirm() {
|
|
|
- unbindInspectionCarrier({carrierCode:carrierCode.value}).then(res => {
|
|
|
- if(res.code == 200) {
|
|
|
- let pages = getCurrentPages();
|
|
|
- let index = 0
|
|
|
- for (let i = 0; i < pages.length; i++) {
|
|
|
-
|
|
|
- if (pages[i].$page.fullPath == "/pages/dashboard/index") {
|
|
|
-
|
|
|
- index = pages.length - i - 1;
|
|
|
+ unbindInspectionCarrier({
|
|
|
+ carrierCode: carrierCode.value
|
|
|
+ }).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ let pages = getCurrentPages();
|
|
|
+ let index = 0
|
|
|
+ for (let i = 0; i < pages.length; i++) {
|
|
|
+
|
|
|
+ if (pages[i].$page.fullPath == "/pages/dashboard/index") {
|
|
|
+
|
|
|
+ index = pages.length - i - 1;
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- console.log("index", index);
|
|
|
- uni.navigateBack({
|
|
|
- delta: index
|
|
|
- });
|
|
|
- }else{
|
|
|
+ console.log("index", index);
|
|
|
+ uni.navigateBack({
|
|
|
+ delta: index
|
|
|
+ });
|
|
|
+ } else {
|
|
|
uni.showToast({
|
|
|
icon: 'none',
|
|
|
title: res.msg,
|
|
@@ -1146,27 +1171,34 @@
|
|
|
// }
|
|
|
// }
|
|
|
.tab-container {
|
|
|
- position: fixed; /* 固定定位 */
|
|
|
- top: 44px; /* 距离顶部0,即页面顶部 */
|
|
|
- left: 0; /* 距离左侧0,即页面左侧 */
|
|
|
- right: 0; /* 宽度充满整个页面宽度 */
|
|
|
- display: flex;
|
|
|
- flex-direction: row;
|
|
|
- height: 32px;
|
|
|
- background-color: #ffffff;
|
|
|
- z-index: 999; /* 确保.tab-container在页面最上层 */
|
|
|
- padding: 8rpx 0; /* 根据需要添加一些内边距 */
|
|
|
- box-sizing: border-box; /* 边框计算在宽度内 */
|
|
|
+ position: fixed;
|
|
|
+ /* 固定定位 */
|
|
|
+ top: 44px;
|
|
|
+ /* 距离顶部0,即页面顶部 */
|
|
|
+ left: 0;
|
|
|
+ /* 距离左侧0,即页面左侧 */
|
|
|
+ right: 0;
|
|
|
+ /* 宽度充满整个页面宽度 */
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ height: 32px;
|
|
|
+ background-color: #ffffff;
|
|
|
+ z-index: 999;
|
|
|
+ /* 确保.tab-container在页面最上层 */
|
|
|
+ padding: 8rpx 0;
|
|
|
+ /* 根据需要添加一些内边距 */
|
|
|
+ box-sizing: border-box;
|
|
|
+ /* 边框计算在宽度内 */
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.tab-item {
|
|
|
- display: flex;
|
|
|
- flex-direction: row;
|
|
|
- flex: 1;
|
|
|
- font-size: 14px;
|
|
|
- color: #666;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ flex: 1;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #666;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
}
|
|
|
|
|
|
.carrier-info {
|
|
@@ -1214,6 +1246,7 @@
|
|
|
margin-bottom: 24rpx;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
+ margin: 24rpx 16rpx;
|
|
|
|
|
|
text {
|
|
|
font-size: 28rpx;
|
|
@@ -1441,13 +1474,14 @@
|
|
|
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.my-files {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
-
|
|
|
+
|
|
|
:deep(.uni-file-picker__container) {
|
|
|
- flex-direction: row;
|
|
|
-
|
|
|
+ flex-direction: row;
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
</style>
|