|
@@ -119,27 +119,27 @@
|
|
|
</a-col>
|
|
|
<a-col :span="8">
|
|
|
<a-form-item label="备案计量单位:" name="recordUnit">
|
|
|
- <a-input v-model:value="bodyData.recordUnit" :disabled="isView" placeholder="请输入备案计量单位" allow-clear />
|
|
|
+ <a-select v-model:value="bodyData.recordUnit" :disabled="isView" placeholder="请输入备案计量单位" :options="legalUnitOptions" show-search allow-clear option-filter-prop="label"/>
|
|
|
</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-select v-model:value="bodyData.declareUnit" :disabled="isView" placeholder="请输入申报计量单位" :options="legalUnitOptions" show-search allow-clear option-filter-prop="label"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="8">
|
|
|
<a-form-item label="法定计量单位:" name="legalUnit">
|
|
|
- <a-input v-model:value="bodyData.legalUnit" :disabled="isView" placeholder="请输入法定计量单位" allow-clear />
|
|
|
+ <a-select v-model:value="bodyData.legalUnit" :disabled="isView" placeholder="请输入法定计量单位" :options="legalUnitOptions" show-search allow-clear option-filter-prop="label"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="8">
|
|
|
<a-form-item label="法定第二计量单位:" name="legalSecondUnit">
|
|
|
- <a-input v-model:value="bodyData.legalSecondUnit" :disabled="isView" placeholder="请输入法定第二计量单位" allow-clear />
|
|
|
+ <a-select v-model:value="bodyData.legalSecondUnit" :disabled="isView" placeholder="请输入法定第二计量单位" :options="legalUnitOptions" show-search allow-clear option-filter-prop="label"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="8">
|
|
|
<a-form-item label="原产国(地区):" name="originCountry">
|
|
|
- <a-input v-model:value="bodyData.originCountry" :disabled="isView" placeholder="请输入原产国(地区)" allow-clear />
|
|
|
+ <a-select v-model:value="bodyData.originCountry" :disabled="isView" placeholder="请输入原产国(地区)" :options="originCountryOptions" show-search allow-clear option-filter-prop="label" />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="8">
|
|
@@ -384,6 +384,8 @@ const activeKey = ref('1')
|
|
|
const bodySelectedRowKeys = ref([])
|
|
|
const bodyList = ref([])
|
|
|
const userInfo = tool.data.get('USER_INFO')
|
|
|
+const legalUnitOptions = ref([])
|
|
|
+const originCountryOptions = ref([])
|
|
|
|
|
|
// 列表选择配置
|
|
|
const bodyOptions = {
|
|
@@ -428,6 +430,9 @@ const onOpen = (record, view = false, type) => {
|
|
|
tzTypeOptions.value = tool.dictList('tzlx')
|
|
|
applyTypeOptions.value = tool.dictList('qybalx')
|
|
|
companyTypeOptions.value = tool.dictList('qylx')
|
|
|
+ legalUnitOptions.value = tool.dictList('measurement unit')
|
|
|
+ originCountryOptions.value = tool.dictList('address')
|
|
|
+
|
|
|
}
|
|
|
// 关闭抽屉
|
|
|
const onClose = () => {
|