fix:成品入库时需要库存人员点击接收

This commit is contained in:
shijing 2025-09-28 16:47:16 +08:00
parent 0e7260e653
commit d470bad81b
3 changed files with 11 additions and 3 deletions

View File

@ -113,7 +113,8 @@
v-auth="'mio.submit'"
v-if="scope.row.state == 10"
>
提交
<span v-if="scope.row.type =='do_in'">接收</span>
<span v-else>提交</span>
</el-button>
<el-button
link

View File

@ -179,7 +179,8 @@
</el-main>
<el-footer v-if="active === 1" style="text-align: center">
<el-button @click="handleLastStep" style="margin-right: 4px">上一步</el-button>
<el-button @click="table_submit" type="warning">提交</el-button>
<el-button v-if="cate=='do_in'" @click="table_submit_in" type="warning">确定</el-button>
<el-button v-else @click="table_submit" type="warning">提交</el-button>
</el-footer>
</el-container>
<el-card v-else shadow="never" style="height: 100%;">
@ -522,6 +523,12 @@ export default {
// that.$emit("closed");
});
},
table_submit_in(){
let that = this;
that.$emit('closed')
that.$message.success("保存成功");
that.visible = false;
},
submitOut() {},
//
handlePrint(){

View File

@ -121,7 +121,7 @@
type="primary"
@click="table_submit(scope.row)"
v-auth="'mio.submit'"
v-if="scope.row.state == 10"
v-if="scope.row.state == 10&&scope.row.type!=='do_in'"
>
提交
</el-button>