Commit 44ef361e authored by 李苏's avatar 李苏 💬

cxfx

parent 44fd9137
<template> <template>
<BasePage :autoQuery='false' ref="basePage" :power='power' class="min_full" :config="config"> <BasePage :autoQuery='false' ref="basePage" :power='power' class="min_full" :config="config">
<template #dialog="ctx"> <template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template> </template>
...@@ -53,11 +53,6 @@ ...@@ -53,11 +53,6 @@
field: "wlxxGg", field: "wlxxGg",
width: 140 width: 140
}, },
{
title: "库位",
field: "kwName",
width: 140
},
{ {
title: "货主", title: "货主",
field: "hzName", field: "hzName",
...@@ -78,11 +73,31 @@ ...@@ -78,11 +73,31 @@
field: "jldwname", field: "jldwname",
width: 80 width: 80
}, },
{title: "期初结存数量(辅)", field: "fqcjcsl", width: 140, fieldType: 'float'}, {
{title: "期初结存数量(辅)", field: "qmjcsl", width: 140, fieldType: 'float'}, title: "期初结存数量",
field: "fqcjcsl",
{title: "本期入库数量(辅)", field: "fbqrksl", width: 140, fieldType: 'float'}, width: 140,
{title: "本期出库数量(辅)", field: "fbqcksl", width: 140, fieldType: 'float'}, fieldType: 'float'
},
{
title: "期初结存数量",
field: "qmjcsl",
width: 140,
fieldType: 'float'
},
{
title: "本期入库数量",
field: "fbqrksl",
width: 140,
fieldType: 'float'
},
{
title: "本期出库数量",
field: "fbqcksl",
width: 140,
fieldType: 'float'
},
], ],
queryParams: [ queryParams: [
...@@ -133,46 +148,46 @@ ...@@ -133,46 +148,46 @@
// }, // },
// }, // },
{ {
"label": "查询方式", "label": "查询方式",
"prop": "cxdx", "prop": "cxdx",
"span": 8, "span": 8,
"type": "RelSelect", "type": "RelSelect",
"value": "", "value": "",
"typeConfig": { "typeConfig": {
'hasValue':true, 'hasValue': true,
'clearable':false, 'clearable': false,
"src": "wms/cxfx/sfhzcx/cxfs/init", "src": "wms/cxfx/sfhzcx/cxfs/init",
"match": { "match": {
"value": "id", "value": "id",
"label": "name" "label": "name"
}, },
onChange:(v)=>{ onChange: (v) => {
if(v){ if (v) {
let list=[] let list = []
if( v.id=="ck,wl"){ if (v.id == "ck,wl") {
list=['wlph','zlh'] list = ['wlph', 'zlh']
}else if(v.id=="wl,ph") { } else if (v.id == "wl,ph") {
list=['ckName','zlh'] list = ['ckName', 'zlh']
}else if(v.id=="ck") { } else if (v.id == "ck") {
list=['wlxxCode','wlxxName','wlph','jldwname','wlxxGg','zlh'] list = ['wlxxCode', 'wlxxName', 'wlph', 'jldwname', 'wlxxGg', 'zlh']
}else if(v.id=="wl") { } else if (v.id == "wl") {
list=['ckName','wlph','zlh'] list = ['ckName', 'wlph', 'zlh']
} }
/* */ /* */
this.$refs.basePage.$refs.TablePager.newGridList.forEach(item=>{ this.$refs.basePage.$refs.TablePager.newGridList.forEach(item => {
if( list.includes(item.prop) ){ if (list.includes(item.prop)) {
item.show=false item.show = false
}else{ } else {
item.show=true item.show = true
}
})
console.log(this.$refs.basePage.$refs.TablePager.newGridList)
// let tabList=
} }
this.$refs.basePage.refresh() })
console.log(this.$refs.basePage.$refs.TablePager.newGridList)
// let tabList=
} }
}, this.$refs.basePage.refresh()
}
}, },
},
{ {
...@@ -213,4 +228,4 @@ ...@@ -213,4 +228,4 @@
</script> </script>
<style> <style>
</style> </style>
\ No newline at end of file
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