Commit 9ffb4763 authored by 李苏's avatar 李苏 💬

显示转化

parent 4e1a00ab
......@@ -2,7 +2,7 @@
<BasePage :power='power' class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<Tbjhd :app='ctx.basePage' v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='同步交货单'" />
<Tbjhd :app='ctx.basePage' v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='同步交货单'" />
<Ckbg :app='ctx.basePage' v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='仓库变更'" />
</template>
<template #toolbar="ctx">
......@@ -100,10 +100,10 @@
title: "已开出库单",
field: "ckdbz",
width: 100,
formatter(a,b,v){
let map ={
Y:'是',
N:'否'
formatter(a, b, v) {
let map = {
Y: '是',
N: '否'
}
return map[v]
......@@ -162,7 +162,15 @@
{
title: "过账状态",
field: "gzzt",
width: 140
width: 140,
formatter(a, b, v) {
let map = {
Y: '是',
N: '否'
}
return map[v]
}
},
{
title: "关闭人",
......@@ -179,7 +187,11 @@
field: "bz",
width: 140
},
{title: "创建时间",field:"cjsj",fieldType:'ftDateTime'}
{
title: "创建时间",
field: "cjsj",
fieldType: 'ftDateTime'
}
],
queryParams: [
......@@ -251,13 +263,13 @@
},
methods: {
ckbg(ctx){
ckbg(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
ctx.DialogTitle='仓库变更'
ctx.DialogWidth='30vw'
ctx.showDialog=true
}else{
this.$warning('请选中一条数据')
ctx.DialogTitle = '仓库变更'
ctx.DialogWidth = '30vw'
ctx.showDialog = true
} else {
this.$warning('请选中一条数据')
}
},
......@@ -313,9 +325,9 @@
}
},
tbjhd(ctx) {
ctx.DialogTitle='同步交货单'
ctx.DialogWidth='30vw'
ctx.showDialog=true
ctx.DialogTitle = '同步交货单'
ctx.DialogWidth = '30vw'
ctx.showDialog = true
// this.$confirm('是否继续操作, 是否继续?', '提示', {
// confirmButtonText: '确定',
// cancelButtonText: '取消',
......
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