Commit f1dce561 authored by 李苏's avatar 李苏 💬

权限控制第二期

parent c9347998
......@@ -5,8 +5,8 @@
<Shd v-if="ctx.basePage.showDialog" :app='ctx.basePage' />
</template>
<template #toolbar="ctx">
<el-button @click="wc(ctx.basePage)" size='mini' type="primary">完成</el-button>
<el-button @click="qxwc(ctx.basePage)" size='mini' type="primary" style="margin-right: 10px;">取消完成</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="wc(ctx.basePage)" size='mini' type="primary">完成</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="qxwc(ctx.basePage)" size='mini' type="primary" style="margin-right: 10px;">取消完成</el-button>
<ImportButton v-if="ctx.basePage.powerObj['01']" @success="()=>{
ctx.basePage.refresh()
}" :url="'/wms/rkgl/cskc/import'" />
......
......@@ -7,11 +7,11 @@
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- <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="dj(ctx.basePage)" size='mini' type="primary">冻结</el-button>
<el-button @click="qxdj(ctx.basePage)" size='mini' type="primary">取消冻结</el-button>
<el-button @click="wc(ctx.basePage)" size='mini' type="primary">完成</el-button>
<el-button @click="qxwc(ctx.basePage)" size='mini' type="primary">取消完成</el-button>
<el-button @click="sendSap(ctx.basePage)" size='mini' type="primary">发送至sap</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="dj(ctx.basePage)" size='mini' type="primary">冻结</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="qxdj(ctx.basePage)" size='mini' type="primary">取消冻结</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="wc(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>
<el-button v-if="ctx.basePage.powerObj['23']" @click="sendSap(ctx.basePage)" size='mini' type="primary">发送至sap</el-button>
</template>
</BasePage>
......
......@@ -7,8 +7,8 @@
</template>
<template #toolbar="ctx">
<el-button @click="zb(ctx.basePage)" size='mini' type="primary">装包</el-button>
<el-button @click="cb(ctx.basePage)" size='mini' type="primary">拆包</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="zb(ctx.basePage)" size='mini' type="primary">装包</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="cb(ctx.basePage)" size='mini' type="primary">拆包</el-button>
</template>
</BasePage>
......
......@@ -4,9 +4,9 @@
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<el-button @click="doConfirm(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button @click="cancelConfirm(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<el-button @click="wcsxjrw(ctx.basePage)" size='mini' type="primary">wcs下架任务</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="doConfirm(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="cancelConfirm(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="wcsxjrw(ctx.basePage)" size='mini' type="primary">wcs下架任务</el-button>
</template>
</BasePage>
......
......@@ -4,7 +4,7 @@
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<el-button @click="doConfirm(ctx.basePage)" size='mini' type="primary">解锁</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="doConfirm(ctx.basePage)" size='mini' type="primary">解锁</el-button>
</template>
</BasePage>
......
......@@ -5,7 +5,7 @@
</template>
<template #toolbar="ctx" >
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button @click="gz(ctx.basePage)" size='mini' type="primary">过账</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="gz(ctx.basePage)" size='mini' type="primary">过账</el-button>
</template>
</BasePage>
......
......@@ -6,9 +6,9 @@
<Akck :type="'add'" v-if="ctx.basePage.showAdd" :app='ctx.basePage' :buttonApp='ctx.basePage' />
</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['21']" @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()
......
......@@ -4,7 +4,7 @@
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<el-button @click="doConfirm(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="doConfirm(ctx.basePage)" size='mini' type="primary">确认</el-button>
</template>
</BasePage>
......
......@@ -10,9 +10,9 @@
<ImportButton v-if="ctx.basePage.powerObj['01']" @success="()=>{
ctx.basePage.refresh()
}" :url="'/wms/kcgl/rqdj/import'" />
<el-button @click="zt(ctx.basePage)" size='mini' style="margin-left: 10px;" type="primary">组托</el-button>
<el-button @click="ct(ctx.basePage)" size='mini' type="primary">拆托</el-button>
<el-button @click="wlzt(ctx.basePage)" size='mini' type="primary">物料组托</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="zt(ctx.basePage)" size='mini' style="margin-left: 10px;" type="primary">组托</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="ct(ctx.basePage)" size='mini' type="primary">拆托</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="wlzt(ctx.basePage)" size='mini' type="primary">物料组托</el-button>
</template>
</BasePage>
......
......@@ -9,11 +9,11 @@
</template>
<template #toolbar="ctx">
<el-button @click="sclltldb(ctx.basePage)" size='mini' type="primary">生产领料退料同步</el-button>
<el-button @click="wxtltb(ctx.basePage)" size='mini' type="primary">外协退料同步</el-button>
<el-button @click="cbzxtltb(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="sclltldb(ctx.basePage)" size='mini' type="primary">生产领料退料同步</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="wxtltb(ctx.basePage)" size='mini' type="primary">外协退料同步</el-button>
<el-button v-if="ctx.basePage.powerObj['23']" @click="cbzxtltb(ctx.basePage)" size='mini' type="primary">成本中心退料同步</el-button>
<el-button v-if="ctx.basePage.powerObj['24']" @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button v-if="ctx.basePage.powerObj['24']" @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
</template>
......
......@@ -7,10 +7,10 @@
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button @click="akck(ctx.basePage)" size='mini' type="primary">按库存开</el-button>
<el-button @click="cgthtb(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="cgthtb(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 @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button> -->
</template>
......
......@@ -5,10 +5,10 @@
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button @click="start(ctx.basePage)" size='mini' type="primary">开始</el-button>
<el-button @click="close(ctx.basePage)" size='mini' type="primary">关闭</el-button>
<el-button @click="tsyxj(ctx.basePage)" size='mini' type="primary">提升优先级</el-button>
<div style="float:right;line-height:28px;font-size:12px;margin-right:18px" > 自动刷新:<el-switch
<el-button v-if="ctx.basePage.powerObj['21']" @click="start(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>
<el-button @click="tsyxj(ctx.basePage)" size='mini' type="primary">提升优先级</el-button>
<div v-if="ctx.basePage.powerObj['23']" style="float:right;line-height:28px;font-size:12px;margin-right:18px" > 自动刷新:<el-switch
v-model="doQuery"
active-color="#13ce66"
inactive-color="#eee">
......
......@@ -6,10 +6,10 @@
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> -->
<el-button @click="execute(ctx.basePage)" size='mini' type="primary">手动执行</el-button>
<el-button @click="complete(ctx.basePage)" size='mini' type="primary">完成</el-button>
<el-button @click="close(ctx.basePage)" size='mini' type="primary">关闭</el-button>
<div style="float:right;line-height:28px;font-size:12px;margin-right:18px"> 自动刷新:<el-switch
<el-button v-if="ctx.basePage.powerObj['21']" @click="execute(ctx.basePage)" size='mini' type="primary">手动执行</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="complete(ctx.basePage)" size='mini' type="primary">完成</el-button>
<el-button v-if="ctx.basePage.powerObj['23']" @click="close(ctx.basePage)" size='mini' type="primary">关闭</el-button>
<div v-if="ctx.basePage.powerObj['24']" style="float:right;line-height:28px;font-size:12px;margin-right:18px"> 自动刷新:<el-switch
v-model="doQuery"
active-color="#13ce66"
inactive-color="#eee">
......
......@@ -5,10 +5,10 @@
<Add :app='ctx.basePage' v-if="ctx.basePage.showDialog" />
</template>
<template #toolbar="ctx">
<el-button @click="showAdd(ctx.basePage)" size='mini' type="primary">新增</el-button>
<el-button @click="pd(ctx.basePage,'A')" size='mini' type="primary">判定合格</el-button>
<el-button @click="pd(ctx.basePage,'R')" size='mini' type="primary">判定不合格</el-button>
<el-button @click="sendSap(ctx.basePage)" size='mini' type="primary">发送至sap</el-button>
<el-button v-if="ctx.basePage.powerObj['01']" @click="showAdd(ctx.basePage)" size='mini' type="primary">新增</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="pd(ctx.basePage,'A')" size='mini' type="primary">判定合格</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="pd(ctx.basePage,'R')" size='mini' type="primary">判定不合格</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="sendSap(ctx.basePage)" size='mini' type="primary">发送至sap</el-button>
</template>
......
......@@ -5,9 +5,9 @@
<Add :app='ctx.basePage' v-if="ctx.basePage.showDialog" />
</template>
<template #toolbar="ctx">
<el-button @click="showAdd(ctx.basePage)" size='mini' type="primary">新增</el-button>
<el-button @click="cxjyrw(ctx.basePage)" size='mini' type="primary">创建检验单</el-button>
<el-button @click="cjxjrw(ctx.basePage)" size='mini' type="primary">创建下架任务</el-button>
<el-button v-if="ctx.basePage.powerObj['01']" @click="showAdd(ctx.basePage)" size='mini' type="primary">新增</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="cxjyrw(ctx.basePage)" size='mini' type="primary">创建检验单</el-button>
<el-button v-if="ctx.basePage.powerObj['22']" @click="cjxjrw(ctx.basePage)" size='mini' type="primary">创建下架任务</el-button>
</template>
......
......@@ -5,9 +5,9 @@
<Add :app='ctx.basePage' v-if="ctx.basePage.showDialog" />
</template>
<template #toolbar="ctx">
<el-button @click="showAdd(ctx.basePage)" size='mini' type="primary">新增</el-button>
<el-button v-if="ctx.basePage.powerObj['01']" @click="showAdd(ctx.basePage)" size='mini' type="primary">新增</el-button>
<!-- <el-button @click="cxjyrw(ctx.basePage)" size='mini' type="primary">创建检验任务</el-button> -->
<el-button @click="cjxjrw(ctx.basePage)" size='mini' type="primary">创建下架任务</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="cjxjrw(ctx.basePage)" size='mini' type="primary">创建下架任务</el-button>
</template>
......
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