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

显示转化

parent 4e1a00ab
...@@ -100,10 +100,10 @@ ...@@ -100,10 +100,10 @@
title: "已开出库单", title: "已开出库单",
field: "ckdbz", field: "ckdbz",
width: 100, width: 100,
formatter(a,b,v){ formatter(a, b, v) {
let map ={ let map = {
Y:'是', Y: '是',
N:'否' N: '否'
} }
return map[v] return map[v]
...@@ -162,7 +162,15 @@ ...@@ -162,7 +162,15 @@
{ {
title: "过账状态", title: "过账状态",
field: "gzzt", field: "gzzt",
width: 140 width: 140,
formatter(a, b, v) {
let map = {
Y: '是',
N: '否'
}
return map[v]
}
}, },
{ {
title: "关闭人", title: "关闭人",
...@@ -179,7 +187,11 @@ ...@@ -179,7 +187,11 @@
field: "bz", field: "bz",
width: 140 width: 140
}, },
{title: "创建时间",field:"cjsj",fieldType:'ftDateTime'} {
title: "创建时间",
field: "cjsj",
fieldType: 'ftDateTime'
}
], ],
queryParams: [ queryParams: [
...@@ -251,12 +263,12 @@ ...@@ -251,12 +263,12 @@
}, },
methods: { methods: {
ckbg(ctx){ ckbg(ctx) {
if (ctx.singleItem && ctx.singleItem.id) { if (ctx.singleItem && ctx.singleItem.id) {
ctx.DialogTitle='仓库变更' ctx.DialogTitle = '仓库变更'
ctx.DialogWidth='30vw' ctx.DialogWidth = '30vw'
ctx.showDialog=true ctx.showDialog = true
}else{ } else {
this.$warning('请选中一条数据') this.$warning('请选中一条数据')
} }
...@@ -313,9 +325,9 @@ ...@@ -313,9 +325,9 @@
} }
}, },
tbjhd(ctx) { tbjhd(ctx) {
ctx.DialogTitle='同步交货单' ctx.DialogTitle = '同步交货单'
ctx.DialogWidth='30vw' ctx.DialogWidth = '30vw'
ctx.showDialog=true ctx.showDialog = true
// this.$confirm('是否继续操作, 是否继续?', '提示', { // this.$confirm('是否继续操作, 是否继续?', '提示', {
// confirmButtonText: '确定', // confirmButtonText: '确定',
// cancelButtonText: '取消', // 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