Browse Source

检验方案

master_hella_20240701
songguoqiang 8 months ago
parent
commit
90cd56a285
  1. 1
      src/utils/dict.ts
  2. 16
      src/views/qms/basicDataManage/inspectionPlan/addForm.vue

1
src/utils/dict.ts

@ -200,6 +200,7 @@ export enum DICT_TYPE {
OWNER_TYPE = 'owner_type', // 货主类型 OWNER_TYPE = 'owner_type', // 货主类型
CARRIER_TYPE = 'carrier_type', // 承运商类型 CARRIER_TYPE = 'carrier_type', // 承运商类型
INSPECT_TYPE = 'inspect_type', // 检验类型 INSPECT_TYPE = 'inspect_type', // 检验类型
INSPECTION_TYPE = 'inspection_type', // 质量管理检验类型
NEXT_ACTION = 'next_action', // 下一步检验动作 NEXT_ACTION = 'next_action', // 下一步检验动作
SAMPLE_METHOD = 'sample_method', // 抽检方式 SAMPLE_METHOD = 'sample_method', // 抽检方式
WAREHOUSE_TYPE = 'warehouse_type', // 仓库类型 WAREHOUSE_TYPE = 'warehouse_type', // 仓库类型

16
src/views/qms/basicDataManage/inspectionPlan/addForm.vue

@ -47,9 +47,9 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="检验类型编码" prop="testTypeCode"> <el-form-item label="检验类型" prop="testTypeCode">
<div style="display: flex; width: 100%"> <!-- <div style="display: flex; width: 100%">
<el-input v-model="data.testTypeName" disabled placeholder="请选择检验类型编码" /> <el-input v-model="data.testTypeName" disabled placeholder="请选择检验类型" />
<el-button <el-button
type="info" type="info"
plain plain
@ -69,7 +69,15 @@
" "
><Icon icon="ep:search" /> ><Icon icon="ep:search" />
</el-button> </el-button>
</div> </div> -->
<el-select v-model="data.testTypeCode" placeholder="请选择检验类型">
<el-option
v-for="dict in getStrDictOptions(DICT_TYPE.INSPECTION_TYPE)"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">

Loading…
Cancel
Save