Browse Source

BUG修改

master
parent
commit
c6ccafe260
  1. 28
      src/utils/disposition/defaultButtons.ts
  2. 16
      src/views/eam/item/countadjustWork/index.vue

28
src/utils/disposition/defaultButtons.ts

@ -677,7 +677,7 @@ export function mainListDocumentPrintBtn(option:any) {
})
}
// 主列表-打印
// 主列表-盘点导出
export function mainExport(option:any) {
return __defaultBtnOption(option,{
label: '导出',
@ -690,6 +690,32 @@ export function mainExport(option:any) {
})
}
// 主列表-盘点调整
export function mainAdjust(option:any) {
return __defaultBtnOption(option,{
label: '盘点调整',
name: 'mainAdjust',
hide: false,
type: 'primary',
color: '',
link: true, // 文本展现按钮
hasPermi: ''
})
}
// 主列表-盘点导入
export function mainAdjustImport(option:any) {
return __defaultBtnOption(option,{
label: '导入',
name: 'mainAdjustImport',
hide: false,
type: 'primary',
color: '',
link: true, // 文本展现按钮
hasPermi: ''
})
}
// 主列表-生成到货检验申请
export function mainInspectRequestBtn(option:any) {

16
src/views/eam/item/countadjustWork/index.vue

@ -41,8 +41,12 @@
@searchTableSuccessDetail="searchTableSuccessDetail" />
<!-- 导入 -->
<ImportForm ref="importFormRef" url="/wms/purchase-main/import" :importTemplateData="importTemplateData"
@success="importSuccess" :isShowOut="true" :updateIsDisable="true" :coverIsDisable="true" :mode="2" />
<ImportForm
ref="importFormRef"
url="/eam/countJobDetail/import"
:importTemplateData="importTemplateData"
@success="importSuccess"
/>
</template>
<script setup lang="ts">
@ -157,8 +161,9 @@
const butttondata = (row) => {
return [
defaultButtons.mainExport(null),//
defaultButtons.mainListEditBtn(null), //
defaultButtons.mainListDeleteBtn(null), //
defaultButtons.mainAdjustImport(null),//
// defaultButtons.mainListEditBtn(null), //
// defaultButtons.mainListDeleteBtn(null), //
]
}
@ -171,6 +176,9 @@
else if (val == 'mainExport') { //
handleMainExport(row.id)
}
else if (val == 'mainAdjustImport') { //
handleImport()
}
else if (val == 'mainOrderClo') { //
handleClose(row.id)
}

Loading…
Cancel
Save