Browse Source

YT-166物料组合关系

syhx
zhaoyiran 2 months ago
parent
commit
5c3b6c1618
  1. 12
      src/views/wms/basicDataManage/itemManage/itemSyntheticRelation/index.vue
  2. 4
      src/views/wms/basicDataManage/itemManage/itemSyntheticRelation/itemSyntheticRelation.data.ts

12
src/views/wms/basicDataManage/itemManage/itemSyntheticRelation/index.vue

@ -54,7 +54,15 @@
<Detail ref="detailRef" :isBasic="true" :allSchemas="ItemSyntheticRelation.allSchemas" />
<!-- 导入 -->
<ImportForm ref="importFormRef" url="/wms/item-synthetic-relation/import" :importTemplateData="importTemplateData" @success="importSuccess" />
<ImportForm
ref="importFormRef"
url="/wms/item-synthetic-relation/import"
:importTemplateData="importTemplateData"
@success="importSuccess"
:updateIsDisable="true"
:coverIsDisable="true"
:mode="2"
/>
</template>
<script setup lang="ts">
@ -106,7 +114,7 @@ const { getList, setSearchParams } = tableMethods
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:itemSyntheticRelation:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'wms:itemSyntheticRelation:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:itemSyntheticRelation:export'}), //
defaultButtons.defaultExportBtn(null), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //

4
src/views/wms/basicDataManage/itemManage/itemSyntheticRelation/itemSyntheticRelation.data.ts

@ -1,6 +1,4 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import {Area} from "@/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data";
import * as AreaApi from "@/api/wms/areabasic";
import {Itembasic} from "@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data";
import * as ItembasicApi from "@/api/wms/itembasic";
@ -62,7 +60,7 @@ export const ItemSyntheticRelation = useCrudSchemas(reactive<CrudSchema[]>([
label: '物料名称',
field: 'itemName',
sort: 'custom',
isSearch: true,
isSearch: false,
isForm:false,
},
{

Loading…
Cancel
Save