Commit 43f3721a authored by 李苏's avatar 李苏 💬

字段调整

parent 44ef361e
......@@ -70,34 +70,33 @@
},
{
title: "计量单位",
field: "jldwname",
field: "jldwName",
width: 80
},
{
title: "期初结存数量",
field: "fqcjcsl",
field: "qcjcsl",
width: 140,
fieldType: 'float'
},
{
title: "期初结存数量",
field: "qmjcsl",
title: "本期入库数量",
field: "bqrksl",
width: 140,
fieldType: 'float'
},
{
title: "本期库数量",
field: "fbqrksl",
title: "本期库数量",
field: "bqcksl",
width: 140,
fieldType: 'float'
},
{
title: "本期出库数量",
field: "fbqcksl",
title: "期末结存数量",
field: "qmjcsl",
width: 140,
fieldType: 'float'
},
}
],
queryParams: [
......@@ -174,17 +173,23 @@
list = ['ckName', 'wlph', 'zlh']
}
/* */
this.$refs.basePage.$refs.TablePager.newGridList.forEach(item => {
if (list.includes(item.prop)) {
item.show = false
} else {
item.show = true
}
})
console.log(this.$refs.basePage.$refs.TablePager.newGridList)
setTimeout(()=>{
this.$refs.basePage.$refs.TablePager.newGridList.forEach(item => {
if (list.includes(item.prop)) {
item.show = false
} else {
item.show = true
}
})
},500)
this.$refs.basePage.refresh()
// let tabList=
}
this.$refs.basePage.refresh()
}
},
},
......@@ -228,4 +233,4 @@
</script>
<style>
</style>
\ No newline at end of file
</style>
......@@ -39,18 +39,18 @@
queryUrl: 'lxyl/rkgl/rktz/query/detail',
tableTitle: [{
title: "物料编码",
field: "wlcode",
field: "wlxxCode",
fieldType: "upper",
width: 140
},
{
title: "物料名称",
field: "wlmc",
field: "wlxxName",
width: 140
},
{
title: "物料规格",
field: "gg",
field: "wlxxGg",
width: 140
},
{
......
......@@ -65,8 +65,8 @@
list.forEach(item => {
// 转换并且push
item.wlid = item.id
item.wlmc = item.name
item.wlcode = item.code
item.wlxxName = item.name
item.wlxxCode = item.code
item.xqsl = 0
item.xqrq = new Date().getTime()
delete item.id
......@@ -212,7 +212,7 @@
},
{
title: "物料编码",
field: "code",
field: "wlxxCode",
width: 180,
type: 'AuxInput',
typeConfig: {
......@@ -224,8 +224,8 @@
},
give(data) {
this.form.wlid = data.id
this.form.wlmc = data.name
this.form.wlcode = data.code
this.form.wlxxName = data.name
this.form.wlxxCode = data.code
}
......@@ -233,12 +233,12 @@
},
{
title: "物料名称",
field: "wlmc",
field: "wlxxName",
width: 160
},
{
title: "规格",
field: "gg",
field: "wlxxGg",
width: 140
},
// {
......
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