Commit 4295eeb1 authored by 李苏's avatar 李苏 💬

顺序增加权限控制 到-下立库

parent 97c5e364
......@@ -8,8 +8,8 @@
<Tbxsjh :app='ctx.basePage' v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='同步销售交货'" />
</template>
<template #toolbar="ctx">
<el-button @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<ImportButton v-if="ctx.basePage.powerObj['01']" style="margin-left: 10px;" @success="()=>{
ctx.basePage.refresh()
}" :url="'/lxyl/ckgl/bfcktz/import'" />
......
......@@ -4,7 +4,7 @@
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<el-button @click="llzjs(ctx.basePage)" size='mini' type="primary">领料组接收</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="llzjs(ctx.basePage)" size='mini' type="primary">领料组接收</el-button>
<!-- <ImportButton @success="()=>{
ctx.basePage.refresh()
}" :url="'wms/ckgl/jhtz/import'" /> -->
......
......@@ -10,18 +10,18 @@
<Tbxsjh :app='ctx.basePage' v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='同步销售交货'" />
</template>
<template #toolbar="ctx">
<el-button @click="akck(ctx.basePage)" size='mini' type="primary">按库存开</el-button>
<el-button @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="akck(ctx.basePage)" size='mini' type="primary">按库存开</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">直接入库</el-button> -->
<!-- <ImportButton @success="()=>{
ctx.basePage.refresh()
}" :url="'/lxyl/ckgl/cktz/import'" /> -->
<!-- <el-button @click="tbwl(ctx.basePage)" size='mini' type="primary" style="margin-left: 10px;">同步领料单</el-button> -->
<el-button @click="tbwl(ctx.basePage)" size='mini' type="primary" >生产领料同步</el-button>
<el-button @click="wxfl(ctx.basePage)" size='mini' type="primary" >外协发料同步</el-button>
<el-button @click="cbzx(ctx.basePage)" size='mini' type="primary" >成本中心领料同步</el-button>
<el-button @click="wwcl(ctx.basePage)" size='mini' type="primary" >委外超领同步</el-button>
<el-button v-if="ctx.basePage.powerObj['23']" @click="tbwl(ctx.basePage)" size='mini' type="primary" >生产领料同步</el-button>
<el-button v-if="ctx.basePage.powerObj['24']" @click="wxfl(ctx.basePage)" size='mini' type="primary" >外协发料同步</el-button>
<el-button v-if="ctx.basePage.powerObj['25']" @click="cbzx(ctx.basePage)" size='mini' type="primary" >成本中心领料同步</el-button>
<el-button v-if="ctx.basePage.powerObj['26']" @click="wwcl(ctx.basePage)" size='mini' type="primary" >委外超领同步</el-button>
<!-- 同步销售订单-->
<!-- <el-button @click="tbxsjh(ctx.basePage)" size='mini' type="primary">同步销售交货</el-button> -->
......
......@@ -9,11 +9,11 @@
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button @click="akck(ctx.basePage)" size='mini' type="primary">按库存开</el-button>
<el-button @click="ajydk(ctx.basePage)" size='mini' type="primary">按检验单开</el-button>
<el-button @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<el-button @click="kgcdbtb(ctx.basePage)" size='mini' type="primary">跨工厂调拨同步</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="akck(ctx.basePage)" size='mini' type="primary">按库存开</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="ajydk(ctx.basePage)" size='mini' type="primary">按检验单开</el-button>
<el-button v-if="ctx.basePage.powerObj['23']" @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button v-if="ctx.basePage.powerObj['23']" @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<el-button v-if="ctx.basePage.powerObj['24']" @click="kgcdbtb(ctx.basePage)" size='mini' type="primary">跨工厂调拨同步</el-button>
</template>
</BasePage>
......
......@@ -6,8 +6,8 @@
<Ackdk :app='ctx.basePage' v-if='ctx.basePage.showDialog' />
</template>
<template #toolbar="ctx">
<el-button @click="ackdk(ctx.basePage)" size='mini' type="primary">按出库单开</el-button>
<el-button @click="jhtj(ctx.basePage)" size='mini' type="primary">拣货推荐</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="ackdk(ctx.basePage)" size='mini' type="primary">按出库单开</el-button>
<el-button v-if="ctx.basePage.powerObj['23']" @click="jhtj(ctx.basePage)" size='mini' type="primary">拣货推荐</el-button>
<!-- <ImportButton @success="()=>{
ctx.basePage.refresh()
......
......@@ -7,7 +7,7 @@
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button @click="akck(ctx.basePage)" size='mini' type="primary">新增</el-button>
<el-button @click="close(ctx.basePage)" size='mini' type="primary">关闭</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="close(ctx.basePage)" size='mini' type="primary">关闭</el-button>
</template>
</BasePage>
......
......@@ -7,11 +7,11 @@
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button @click="tbjhd(ctx.basePage)" size='mini' type="primary">同步交货单</el-button>
<el-button @click="sapgz(ctx.basePage)" size='mini' type="primary">SAP过账</el-button>
<el-button @click="qxsapgz(ctx.basePage)" size='mini' type="primary">取消过账</el-button>
<el-button @click="sfsap(ctx.basePage)" size='mini' type="primary">释放SAP修改权限</el-button>
<el-button @click="ckbg(ctx.basePage)" size='mini' type="primary">仓库变更</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="tbjhd(ctx.basePage)" size='mini' type="primary">同步交货单</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="sapgz(ctx.basePage)" size='mini' type="primary">SAP过账</el-button>
<el-button v-if="ctx.basePage.powerObj['23']" @click="qxsapgz(ctx.basePage)" size='mini' type="primary">取消过账</el-button>
<el-button v-if="ctx.basePage.powerObj['24']" @click="sfsap(ctx.basePage)" size='mini' type="primary">释放SAP修改权限</el-button>
<el-button v-if="ctx.basePage.powerObj['25']" @click="ckbg(ctx.basePage)" size='mini' type="primary">仓库变更</el-button>
</template>
</BasePage>
......
......@@ -7,13 +7,13 @@
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button @click="tbjhd(ctx.basePage)" size='mini' type="primary">同步交货单</el-button>
<el-button @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<el-button @click="sapgz(ctx.basePage)" size='mini' type="primary">SAP过账</el-button>
<el-button @click="gb(ctx.basePage)" size='mini' type="primary">关闭</el-button>
<el-button @click="sfsap(ctx.basePage)" size='mini' type="primary">释放SAP修改权限</el-button>
<el-button @click="ckbg(ctx.basePage)" size='mini' type="primary">仓库变更</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="tbjhd(ctx.basePage)" size='mini' type="primary">同步交货单</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<el-button v-if="ctx.basePage.powerObj['23']" @click="sapgz(ctx.basePage)" size='mini' type="primary">SAP过账</el-button>
<el-button v-if="ctx.basePage.powerObj['24']" @click="gb(ctx.basePage)" size='mini' type="primary">关闭</el-button>
<el-button v-if="ctx.basePage.powerObj['25']" @click="sfsap(ctx.basePage)" size='mini' type="primary">释放SAP修改权限</el-button>
<el-button v-if="ctx.basePage.powerObj['26']" @click="ckbg(ctx.basePage)" size='mini' type="primary">仓库变更</el-button>
</template>
</BasePage>
......
......@@ -11,8 +11,8 @@
</template>
<template #toolbar="ctx">
<el-button @click="mpwc(ctx.basePage)" size='mini' type="primary">完成</el-button>
<el-button @click="qxwc(ctx.basePage)" size='mini' type="primary">取消完成</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="mpwc(ctx.basePage)" size='mini' type="primary">完成</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="qxwc(ctx.basePage)" size='mini' type="primary">取消完成</el-button>
</template>
</BasePage>
......
......@@ -5,8 +5,8 @@
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button @click="mpwc(ctx.basePage)" size='mini' type="primary">码盘完成</el-button>
<el-button @click="qxwc(ctx.basePage)" size='mini' type="primary">取消完成</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="mpwc(ctx.basePage)" size='mini' type="primary">码盘完成</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="qxwc(ctx.basePage)" size='mini' type="primary">取消完成</el-button>
</template>
</BasePage>
......
......@@ -12,13 +12,13 @@
<ImportButton v-if="ctx.basePage.powerObj['01']" @success="()=>{
ctx.basePage.refresh()
}" :url="'/lxyl/rkgl/rktz/import'" />
<el-button style="margin-left: 10px;" @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<el-button @click="sapgz(ctx.basePage)" size='mini' type="primary">SAP过账</el-button>
<el-button @click="tbshd(ctx.basePage)" size='mini' type="primary">同步送货单</el-button>
<el-button @click="dbrktb(ctx.basePage)" size='mini' type="primary">同步生产入库单</el-button>
<el-button @click="tbcgd(ctx.basePage)" size='mini' type="primary">同步采购单</el-button>
<el-button @click="tbxsth(ctx.basePage)" size='mini' type="primary">同步销售退货</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" style="margin-left: 10px;" @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="sapgz(ctx.basePage)" size='mini' type="primary">SAP过账</el-button>
<el-button v-if="ctx.basePage.powerObj['23']" @click="tbshd(ctx.basePage)" size='mini' type="primary">同步送货单</el-button>
<el-button v-if="ctx.basePage.powerObj['24']" @click="dbrktb(ctx.basePage)" size='mini' type="primary">同步生产入库单</el-button>
<el-button v-if="ctx.basePage.powerObj['25']" @click="tbcgd(ctx.basePage)" size='mini' type="primary">同步采购单</el-button>
<el-button v-if="ctx.basePage.powerObj['26']" @click="tbxsth(ctx.basePage)" size='mini' type="primary">同步销售退货</el-button>
<!-- <el-button @click="qktjkw(ctx.basePage)" size='mini' type="primary">清空推荐库位</el-button> -->
</template>
......
......@@ -5,8 +5,8 @@
<Kwbg :app='ctx.basePage' v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='库位变更'" />
</template>
<template #toolbar="ctx">
<el-button @click="tjkw(ctx.basePage)" size='mini' type="primary">推荐库位</el-button>
<el-button @click="qktjkw(ctx.basePage)" size='mini' type="primary">清空推荐库位</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="tjkw(ctx.basePage)" size='mini' type="primary">推荐库位</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="qktjkw(ctx.basePage)" size='mini' type="primary">清空推荐库位</el-button>
<!-- <el-button style="margin-left: 10px;" @click="kwbg(ctx.basePage)" size='mini'
type="primary">库位变更</el-button> -->
</template>
......
......@@ -7,8 +7,8 @@
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button @click="sj(ctx.basePage)" size='mini' type="primary">上架</el-button>
<el-button @click="close(ctx.basePage)" size='mini' type="primary">关闭</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="sj(ctx.basePage)" size='mini' type="primary">上架</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="close(ctx.basePage)" size='mini' type="primary">关闭</el-button>
</template>
</BasePage>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment