|
@@ -20,7 +20,7 @@
|
|
:wrapper-col="formItemLayout.wrapperCol"
|
|
:wrapper-col="formItemLayout.wrapperCol"
|
|
>
|
|
>
|
|
<a-form-model-item label="调拨类别" prop="allocateCategory">
|
|
<a-form-model-item label="调拨类别" prop="allocateCategory">
|
|
- <allocateType id="transferTypeManagementEdit-allocateCategory" @change="changeCategory" :level="2" v-model="form.allocateCategory" placeholder="请选择调拨类别"></allocateType>
|
|
|
|
|
|
+ <AllocateTypeByLevel id="transferTypeManagementEdit-allocateCategory" @change="changeCategory" :level="2" v-model="form.allocateCategory" placeholder="请选择调拨类别"></AllocateTypeByLevel>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
<a-form-model-item label="调拨类型名称" prop="name">
|
|
<a-form-model-item label="调拨类型名称" prop="name">
|
|
<a-input
|
|
<a-input
|
|
@@ -45,11 +45,11 @@
|
|
import { commonMixin } from '@/utils/mixin'
|
|
import { commonMixin } from '@/utils/mixin'
|
|
import { VSelect } from '@/components'
|
|
import { VSelect } from '@/components'
|
|
import { allocateTypeSave } from '@/api/allocateType'
|
|
import { allocateTypeSave } from '@/api/allocateType'
|
|
-import allocateType from '@/views/common/allocateType'
|
|
|
|
|
|
+import AllocateTypeByLevel from '@/views/common/allocateTypeByLevel.js'
|
|
export default {
|
|
export default {
|
|
name: 'TransferTypeManagementEditModal',
|
|
name: 'TransferTypeManagementEditModal',
|
|
mixins: [commonMixin],
|
|
mixins: [commonMixin],
|
|
- components: { VSelect, allocateType },
|
|
|
|
|
|
+ components: { VSelect, AllocateTypeByLevel },
|
|
props: {
|
|
props: {
|
|
openModal: { // 弹框显示状态
|
|
openModal: { // 弹框显示状态
|
|
type: Boolean,
|
|
type: Boolean,
|