Browse Source

企业台账管理修改

CzRger 8 months ago
parent
commit
a441aad6cf
1 changed files with 4 additions and 1 deletions
  1. 4 1
      snowy-admin-web/src/views/yqyc/zero/enterprise-ledger/detail.vue

+ 4 - 1
snowy-admin-web/src/views/yqyc/zero/enterprise-ledger/detail.vue

@@ -38,7 +38,7 @@
 						</a-col>
 						<a-col :span="8">
 							<a-form-item label="海关注册编码:" name="companyMainHgCode">
-								<a-input v-model:value="formData.companyMainHgCode" :disabled="isView"
+								<a-input v-model:value="formData.companyMainHgCode" :disabled="true"
 										 placeholder="请输入海关注册编码" allow-clear/>
 							</a-form-item>
 						</a-col>
@@ -626,6 +626,7 @@ const onOpen = (record, view = false, type) => {
 			if (type) {
 				formData.value.applyType = type
 			}
+			formData.value.companyMainHgCode = '9305869382'
 		})
 	} else {
 		formData.value.companyCode = userInfo.companyNumber
@@ -636,6 +637,7 @@ const onOpen = (record, view = false, type) => {
 		formData.value.companyLegalPhone = userInfo.contactPhone
 		formData.value.companyJyFw = userInfo.businessScope
 		formData.value.applyType = 'basq'
+		formData.value.companyMainHgCode = '9305869382'
 	}
 	onProductReset()
 	tzTypeOptions.value = tool.dictList('tzlx')
@@ -684,6 +686,7 @@ const bodyRules = {
 	remainingRecordAmount: [required('请输入剩余备案数量')],
 	inAccountCumulativeAmount: [required('请输入进账累计数量')],
 	outAccountCumulativeAmount: [required('请输入出账累计数量')],
+	declareUnit: [required('请选择申报计量单位')],
 }
 // 默认要校验的
 const productRules = {