|
|
|
@ -29,7 +29,17 @@
|
|
|
|
</el-radio>
|
|
|
|
</el-radio>
|
|
|
|
</el-radio-group>
|
|
|
|
</el-radio-group>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="制浆线:" prop="feedingPipeline">
|
|
|
|
|
|
|
|
<el-radio-group v-model="formData.feedingPipeline">
|
|
|
|
|
|
|
|
<el-radio
|
|
|
|
|
|
|
|
v-for="dict in getStrDictOptions(DICT_TYPE.MES_FEEDING_PIPELINE)"
|
|
|
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
|
|
|
:label="dict.value"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
{{ dict.label }}
|
|
|
|
|
|
|
|
</el-radio>
|
|
|
|
|
|
|
|
</el-radio-group>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="计划" prop="planId">
|
|
|
|
<el-form-item label="计划" prop="planId">
|
|
|
|
<el-input v-model="formData.planId" placeholder="请输入计划" />
|
|
|
|
<el-input v-model="formData.planId" placeholder="请输入计划" />
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
@ -53,7 +63,7 @@
|
|
|
|
<script setup lang="ts">
|
|
|
|
<script setup lang="ts">
|
|
|
|
import { ItemRequisitionApi, ItemRequisitionVO } from '@/api/mes/itemrequisition'
|
|
|
|
import { ItemRequisitionApi, ItemRequisitionVO } from '@/api/mes/itemrequisition'
|
|
|
|
import ItemRequisitionDetailForm from './components/ItemRequisitionDetailForm.vue'
|
|
|
|
import ItemRequisitionDetailForm from './components/ItemRequisitionDetailForm.vue'
|
|
|
|
import { getIntDictOptions, DICT_TYPE } from '@/utils/dict'
|
|
|
|
import {getIntDictOptions, DICT_TYPE, getStrDictOptions} from '@/utils/dict'
|
|
|
|
|
|
|
|
|
|
|
|
/** 生产领料 表单 */
|
|
|
|
/** 生产领料 表单 */
|
|
|
|
defineOptions({ name: 'ItemRequisitionForm' })
|
|
|
|
defineOptions({ name: 'ItemRequisitionForm' })
|
|
|
|
@ -71,6 +81,7 @@ const formData = ref({
|
|
|
|
requisitionDate: undefined,
|
|
|
|
requisitionDate: undefined,
|
|
|
|
deliveryDate: undefined,
|
|
|
|
deliveryDate: undefined,
|
|
|
|
status: undefined,
|
|
|
|
status: undefined,
|
|
|
|
|
|
|
|
feedingPipeline: undefined,
|
|
|
|
processInstanceId: undefined,
|
|
|
|
processInstanceId: undefined,
|
|
|
|
planId: undefined,
|
|
|
|
planId: undefined,
|
|
|
|
remark: undefined,
|
|
|
|
remark: undefined,
|
|
|
|
@ -146,6 +157,7 @@ const resetForm = () => {
|
|
|
|
requisitionDate: undefined,
|
|
|
|
requisitionDate: undefined,
|
|
|
|
deliveryDate: undefined,
|
|
|
|
deliveryDate: undefined,
|
|
|
|
status: undefined,
|
|
|
|
status: undefined,
|
|
|
|
|
|
|
|
feedingPipeline: undefined,
|
|
|
|
processInstanceId: undefined,
|
|
|
|
processInstanceId: undefined,
|
|
|
|
planId: undefined,
|
|
|
|
planId: undefined,
|
|
|
|
remark: undefined,
|
|
|
|
remark: undefined,
|
|
|
|
|