feat(mes): change rqcType from String to Integer and update related fields in RQC classes
parent
b1f0a71b7a
commit
b6e875c6bb
|
|
@ -10,7 +10,7 @@ export interface QcRqcVO {
|
|||
sourceDocType: string // 来源单据类型
|
||||
sourceDocCode: string // 来源单据编号
|
||||
sourceLineId: number // 来源单据行 ID
|
||||
rqcType: string // 退货检验类型
|
||||
rqcType: number // 检验类型
|
||||
itemId: number // 产品物料 ID
|
||||
itemCode: string // 产品物料编码(关联查询)
|
||||
itemName: string // 产品物料名称(关联查询)
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
class="!w-1/1"
|
||||
>
|
||||
<el-option
|
||||
v-for="dict in getStrDictOptions(DICT_TYPE.MES_RQC_TYPE)"
|
||||
v-for="dict in getIntDictOptions(DICT_TYPE.MES_RQC_TYPE)"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
|
|
@ -172,7 +172,7 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { DICT_TYPE, getIntDictOptions, getStrDictOptions } from '@/utils/dict'
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { generateRandomStr } from '@/utils'
|
||||
import { QcRqcApi, QcRqcVO } from '@/api/mes/qc/rqc'
|
||||
import MdItemSelect from '@/views/mes/md/item/components/MdItemSelect.vue'
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@
|
|||
class="!w-240px"
|
||||
>
|
||||
<el-option
|
||||
v-for="dict in getStrDictOptions(DICT_TYPE.MES_RQC_TYPE)"
|
||||
v-for="dict in getIntDictOptions(DICT_TYPE.MES_RQC_TYPE)"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
|
|
@ -211,7 +211,7 @@ import { dateFormatter2 } from '@/utils/formatTime'
|
|||
import download from '@/utils/download'
|
||||
import { QcRqcApi, QcRqcVO } from '@/api/mes/qc/rqc'
|
||||
import RqcForm from './RqcForm.vue'
|
||||
import { DICT_TYPE, getIntDictOptions, getStrDictOptions } from '@/utils/dict'
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import MdItemSelect from '@/views/mes/md/item/components/MdItemSelect.vue'
|
||||
import UserSelect from '@/views/system/user/components/UserSelect.vue'
|
||||
import { MesQcRqcStatusEnum } from '@/views/mes/utils/constants'
|
||||
|
|
|
|||
Loading…
Reference in New Issue