ezhizao_zx hace 1 año
padre
commit
18fbb53fb6
Se han modificado 1 ficheros con 17 adiciones y 5 borrados
  1. 17 5
      pages/outsourcedInspection/form.vue

+ 17 - 5
pages/outsourcedInspection/form.vue

@@ -122,11 +122,12 @@
 				<view class="label" style="text-align: right; padding-right: 24rpx">废品量</view>
 				<input type="number" v-model="processInspecion.rejectNum" placeholder="请输入废品量" />
 			</view> -->
-			<view class="result uni-row">
-				<view class="label" style="margin-top: 20rpx; margin-right: 10rpx;">序检状态</view>
+			<view class="result resu uni-row" style="margin-top: 20rpx; margin-right: 10rpx;">
+				<view class="label">序检状态</view>
 				<uni-data-checkbox v-if="editable()" style="margin-top: 20rpx;" v-model="processInspecion.status"
 					:localdata="range" @change="change"></uni-data-checkbox>
-				<view v-else class="value">{{ processInspecion.status }}</view>
+				<view v-else class="value" style="margin-left: 10px;">{{ processInspecion.status == 1 ? '合格' : '不合格' }}
+				</view>
 			</view>
 			<view class="result uni-row">
 				<view class="label">废品总数</view>
@@ -468,7 +469,7 @@
 
 <style lang="scss">
 	.page-container {
-		height: 100%;
+		// height: 100%;
 		background-color: #ececec;
 		font-size: 28rpx;
 
@@ -585,12 +586,23 @@
 			}
 
 			.result {
-				align-items: center;
 				border-bottom: 1px solid #9f9f9f;
 				padding-bottom: 32rpx;
+				align-items: center;
 
 				.label {
+					width: 160rpx;
+				}
+
+				.value {
 					flex: 1;
+
+					textarea {
+						flex: 1;
+						border: 1px solid #888888;
+						box-sizing: border-box;
+						padding: 16rpx;
+					}
 				}
 
 				input {