入库单调整

main
HUOJIN\92525 2024-09-20 15:11:43 +08:00
parent 4d6cfa8f18
commit 4442d15feb
2 changed files with 7 additions and 5 deletions

View File

@ -45,6 +45,7 @@
<!-- >-->
<!-- 新增-->
<!-- </el-button>-->
<viewAsnDetail ref="viewAsnDetail" />
<crudOperation :permission="permission" :tableKey="this.$options.name">
<el-button
slot="left"
@ -274,12 +275,13 @@
</template>
</el-table-column>
</el-table>
<viewAsnDetail ref="viewAsnDetail" />
<!--分页组件-->
<div style="float: right;">
<pagination/>
</div>
</div>
</div>
</template>

View File

@ -1,12 +1,13 @@
<template>
<div class="app-container">
<div>
<!-- 卡片头 -->
<el-dialog :visible.sync="dialogInsertAsn"
center
top="0.5vh"
:fullscreen="fullscreen"
width="80%"
:modal="false"
:close-on-click-modal="false"
:before-close="handleClose"
>
@ -661,8 +662,7 @@ export default {
,
rkAndQxButtonM(num) {
if (num === 1) { //
console.log()
if (this.asnFrom.id <= 0) {
if (this.asnFrom.id <= 0 || (Object.keys(this.asnFrom).length === 0)) {
this.crud.notify('请先提交入库单', CRUD.NOTIFICATION_TYPE.ERROR)
}
this.logining1 = true