入库单调整

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

View File

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