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

字段调整

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