Browse Source

关联商品序号:productOrderCode
申报数量:sbNum

caozhaorui 8 months ago
parent
commit
f19b7346b2

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

@@ -176,8 +176,8 @@
 				<a-form ref="bodyFormRef" :model="bodyData" style="margin-bottom: 20px;">
 					<a-row :gutter="16">
 						<a-col :span="8">
-							<a-form-item label="关联商品序号:" name="productId">
-								<a-input v-model:value="bodyData.productId" :disabled="true" placeholder="请输入关联商品序号" allow-clear />
+							<a-form-item label="关联商品序号:" name="productOrderCode">
+								<a-input v-model:value="bodyData.productOrderCode" :disabled="true" placeholder="请输入关联商品序号" allow-clear />
 							</a-form-item>
 						</a-col>
 						<a-col :span="8">
@@ -196,8 +196,8 @@
 							</a-form-item>
 						</a-col>
 						<a-col :span="8">
-							<a-form-item label="申报数量:" name="recordQuantity">
-								<a-input v-model:value="bodyData.recordQuantity" :disabled="true" placeholder="请输入申报数量" allow-clear />
+							<a-form-item label="申报数量:" name="sbNum">
+								<a-input v-model:value="bodyData.sbNum" :disabled="true" placeholder="请输入申报数量" allow-clear />
 							</a-form-item>
 						</a-col>
 						<a-col :span="8">
@@ -428,7 +428,7 @@
 	const bodyColumns = [
 		{
 			title: '关联商品序号',
-			dataIndex: 'productId',
+			dataIndex: 'productOrderCode',
 		},
 		{
 			title: '商品编号',
@@ -444,7 +444,7 @@
 		},
 		{
 			title: '申报数量',
-			dataIndex: 'recordQuantity',
+			dataIndex: 'sbNum',
 		},
 		{
 			title: '货物毛重',
@@ -592,11 +592,11 @@
 	})
 	// 默认要校验的
 	const bodyRules = {
-		productId: [required('请输入关联商品序号')],
+		productOrderCode: [required('请输入关联商品序号')],
 		productCode: [required('请输入商品编号')],
 		productName: [required('请输入商品名称')],
 		declareUnit: [required('请输入申报计量单位')],
-		recordQuantity: [required('请输入申报数量')],
+		sbNum: [required('请输入申报数量')],
 		grossWeight: [required('请输入货物毛重')],
 		netWeight: [required('请输入货物净重')],
 	}