Browse Source

字段隐藏

CzRger 3 months ago
parent
commit
e38771398d

+ 9 - 10
snowy-admin-web/src/views/yqyc/zero/two/out-nuclear-release/detail.vue

@@ -177,42 +177,42 @@
 					<a-row :gutter="16">
 						<a-col :span="8">
 							<a-form-item label="关联商品序号:" name="productId">
-								<a-input v-model:value="bodyData.productId" :disabled="isView" placeholder="请输入关联商品序号" allow-clear />
+								<a-input v-model:value="bodyData.productId" :disabled="true" placeholder="请输入关联商品序号" allow-clear />
 							</a-form-item>
 						</a-col>
 						<a-col :span="8">
 							<a-form-item label="商品编号:" name="productCode">
-								<a-input v-model:value="bodyData.productCode" :disabled="isView" placeholder="请输入商品编号" allow-clear />
+								<a-input v-model:value="bodyData.productCode" :disabled="true" placeholder="请输入商品编号" allow-clear />
 							</a-form-item>
 						</a-col>
 						<a-col :span="8">
 							<a-form-item label="商品名称:" name="productName">
-								<a-input v-model:value="bodyData.productName" :disabled="isView" placeholder="请输入商品名称" allow-clear />
+								<a-input v-model:value="bodyData.productName" :disabled="true" placeholder="请输入商品名称" allow-clear />
 							</a-form-item>
 						</a-col>
 						<a-col :span="8">
 							<a-form-item label="申报计量单位:" name="declareUnit">
-								<a-input v-model:value="bodyData.declareUnit" :disabled="isView" placeholder="请输入申报计量单位" allow-clear />
+								<a-input v-model:value="bodyData.declareUnit" :disabled="true" placeholder="请输入申报计量单位" allow-clear />
 							</a-form-item>
 						</a-col>
 						<a-col :span="8">
 							<a-form-item label="申报数量:" name="recordQuantity">
-								<a-input v-model:value="bodyData.recordQuantity" :disabled="isView" placeholder="请输入申报数量" allow-clear />
+								<a-input v-model:value="bodyData.recordQuantity" :disabled="true" placeholder="请输入申报数量" allow-clear />
 							</a-form-item>
 						</a-col>
 						<a-col :span="8">
 							<a-form-item label="货物毛重:" name="grossWeight">
-								<a-input v-model:value="bodyData.grossWeight" :disabled="isView" placeholder="请输入货物毛重" allow-clear />
+								<a-input v-model:value="bodyData.grossWeight" :disabled="true" placeholder="请输入货物毛重" allow-clear />
 							</a-form-item>
 						</a-col>
 						<a-col :span="8">
 							<a-form-item label="货物净重:" name="netWeight">
-								<a-input v-model:value="bodyData.netWeight" :disabled="isView" placeholder="请输入货物净重" allow-clear />
+								<a-input v-model:value="bodyData.netWeight" :disabled="true" placeholder="请输入货物净重" allow-clear />
 							</a-form-item>
 						</a-col>
 						<a-col :span="8">
 							<a-form-item label="备注:" name="remark">
-								<a-input v-model:value="bodyData.remark" :disabled="isView" placeholder="请输入备注" allow-clear />
+								<a-input v-model:value="bodyData.remark" :disabled="true" placeholder="请输入备注" allow-clear />
 							</a-form-item>
 						</a-col>
 					</a-row>
@@ -254,7 +254,7 @@
 					<a-row :gutter="16">
 						<a-col :span="8">
 							<a-form-item label="核放清单编号:" name="hfdCode">
-								<a-input v-model:value="relationData.hfdCode" :disabled="isView" placeholder="请输入核放清单编号" allow-clear />
+								<a-input v-model:value="relationData.hfdCode" :disabled="true" placeholder="请输入核放清单编号" allow-clear />
 							</a-form-item>
 						</a-col>
 						<a-col :span="8">
@@ -602,7 +602,6 @@
 	}
 	// 默认要校验的
 	const relationRules = {
-		hfdCode: [required('请输入核放清单编号')],
 		dzType: [required('请输入关联单证类型')],
 		dzCode: [required('请输入关联单证编号')],
 	}