|
@ -10,17 +10,19 @@ |
|
|
<Descriptions :data="detailData" labelClassName="label-class-name" label-align="left" direction="vertical" |
|
|
<Descriptions :data="detailData" labelClassName="label-class-name" label-align="left" direction="vertical" |
|
|
:column="8" :schema="allSchemas.detailSchema" :columns="2" width="200px" /> |
|
|
:column="8" :schema="allSchemas.detailSchema" :columns="2" width="200px" /> |
|
|
</ContentWrap> |
|
|
</ContentWrap> |
|
|
<!-- 列表头部 --> |
|
|
|
|
|
<TableHead |
|
|
|
|
|
:HeadButttondata="HeadButttondata" |
|
|
|
|
|
@button-base-click="buttonBaseClick" |
|
|
|
|
|
:routeName="routeName" |
|
|
|
|
|
@updataTableColumns="updataTableColumns" |
|
|
|
|
|
/> |
|
|
|
|
|
<Tabs :tabsList="tabsList" :current="current" @change="change" /> |
|
|
<Tabs :tabsList="tabsList" :current="current" @change="change" /> |
|
|
<div class="flex" v-if="current == 0"> |
|
|
<div class="flex" v-if="current == 0"> |
|
|
<!-- 详情 --> |
|
|
<!-- 详情 --> |
|
|
<ContentWrap class="w-[73%]"> |
|
|
<ContentWrap class="w-[73%]"> |
|
|
|
|
|
<!-- 列表头部 --> |
|
|
|
|
|
<TableHead |
|
|
|
|
|
v-if="!isBasic" |
|
|
|
|
|
:HeadButttondata="HeadButttondata" |
|
|
|
|
|
@button-base-click="buttonBaseClick" |
|
|
|
|
|
:routeName="routeName" |
|
|
|
|
|
@updataTableColumns="updataTableColumns" |
|
|
|
|
|
/> |
|
|
<Descriptions v-if="isBasic" :data="detailData" :schema="allSchemas.detailSchema" :columns="2" /> |
|
|
<Descriptions v-if="isBasic" :data="detailData" :schema="allSchemas.detailSchema" :columns="2" /> |
|
|
<Table |
|
|
<Table |
|
|
v-if="!isBasic" |
|
|
v-if="!isBasic" |
|
@ -279,7 +281,7 @@ const { tableObject, tableMethods } = useTable({ |
|
|
const { getList } = tableMethods |
|
|
const { getList } = tableMethods |
|
|
// 列表头部按钮 |
|
|
// 列表头部按钮 |
|
|
const HeadButttondata = [ |
|
|
const HeadButttondata = [ |
|
|
defaultButtons.defaultAddBtn({ hasPermi: 'wms:purchaseclaim-request-main:create' }), // 新增 |
|
|
defaultButtons.defaultAddBtn(null), // 新增 |
|
|
] |
|
|
] |
|
|
// 头部按钮事件 |
|
|
// 头部按钮事件 |
|
|
const buttonBaseClick = (val, item) => { |
|
|
const buttonBaseClick = (val, item) => { |
|
|