Commit f13d81bf authored by 周毅's avatar 周毅

修改界面显示

parent 032584a3
<template> <template>
<BasePage :toolButtonConfig="{ <BasePage
showExcel:false, :toolButtonConfig="{
showPrint:false, showExcel: false,
showField:true showPrint: false,
}" ref="basePage" :power='power' class="min_full" :config="config"> showField: true,
<template #dialog="ctx"> }"
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 --> ref="basePage"
</template> :power="power"
<template #toolbar="ctx"> class="min_full"
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 --> :config="config"
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> --> >
</template> <template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</BasePage> </template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> -->
</template>
</BasePage>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
power: { power: {
add: false, add: false,
copy: false, copy: false,
delButton: false, delButton: false,
editButton: false, editButton: false,
operateButtons: false, operateButtons: false,
workFlow: false, workFlow: false,
/* 表格 */ /* 表格 */
showSelection: false, showSelection: false,
saveSelected: false saveSelected: false,
}, },
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: ' lxyl/zlgl/ukcjyd/queryJydForBhghk', url: "lxyl/zlgl/kccj/queryForHk",
queryUrl:' lxyl/zlgl/ukcjyd/queryJydForBhghk', queryUrl: "lxyl/zlgl/kccj/queryForHk",
tableTitle: [ tableTitle: [
{
{ title: "单号",
title: "单号", field: "djid",
field: "djid", width: 140,
width: 140 },
}, {
{ title: "检验批号",
title: "检验批号", field: "kcjydJyph",
field: "jyph", width: 140,
width: 140 },
}, {
{ title: "物料编码",
title: "物料编码", field: "wlxxCode",
field: "wlxxCode", width: 140,
width: 140 },
}, {
{ title: "物料名称",
title: "物料名称", field: "wlxxName",
field: "wlxxName", width: 140,
width: 140 },
}, {
{ title: "检验批数量",
title: "检验批数量", field: "kcjydJypsl",
field: "jypsl", fieldType: "float",
width: 90 width: 90,
}, },
{ {
title: "评估代码", title: "评估代码",
field: "pgdm", field: "kcjydPgdm",
width: 200 width: 200,
}, },
{ {
title: "过账时间", title: "过账时间",
field: "jypgzrq", field: "kcjydJypgzrq",
fieldType: 'ftDate' fieldType: "ftDate",
}, },
], ],
queryParams: [ queryParams: [
[ [
{ {
label: '开始日期', label: "开始日期",
prop: 'start', prop: "start",
span: 6, span: 6,
type: 'date', type: "date",
value: '' value: "",
}, },
{ {
label: '结束日期', label: "结束日期",
prop: 'end', prop: "end",
span: 6, span: 6,
type: 'date', type: "date",
value: '' value: "",
}, },
{ {
label: '检验批号', label: "检验批号",
prop: 'jyph', prop: "jyph",
span: 6, span: 6,
type: 'input', type: "input",
value: '' value: "",
}, },
{ {
label: '单据编号', label: "单据编号",
prop: 'djid', prop: "djid",
span: 6, span: 6,
type: 'input', type: "input",
value: '' value: "",
} },
],
],
] /* 默认启停用 */
], showqt: false,
/* 默认启停用 */ },
showqt: false, };
},
methods: {
} /* 示例*/
} // demo(basePage){
// }
}, },
methods: { components: {},
/* 示例*/ };
// demo(basePage){
// }
},
components: {
}
}
</script> </script>
<style> <style>
......
...@@ -50,26 +50,21 @@ ...@@ -50,26 +50,21 @@
url: 'lxyl/zlgl/kccj/queryZkPackOrRq', url: 'lxyl/zlgl/kccj/queryZkPackOrRq',
queryUrl: 'lxyl/zlgl/kccj/queryZkPackOrRq', queryUrl: 'lxyl/zlgl/kccj/queryZkPackOrRq',
tableTitle: [ tableTitle: [
{
title: "仓库",
field: "ckName",
width: 140
},
{ {
title: "库位", title: "库位",
field: "kwCode", field: "kwCode",
width: 140 width: 140
}, },
{
title: "唯一码",
field: "packCode",
width: 140
},
{ {
title: "容器", title: "容器",
field: "rqCode", field: "rqCode",
width: 140 width: 140
}, },
{
title: "唯一码",
field: "packCode",
width: 120
},
{ {
title: "物料编码", title: "物料编码",
field: "wlxxCode", field: "wlxxCode",
...@@ -81,9 +76,10 @@ ...@@ -81,9 +76,10 @@
width: 140 width: 140
}, },
{ {
title: "物料规格", title: "数量",
field: "wlxxGg", field: "kcsl",
width: 140 fieldType:"float",
width: 100
}, },
{ {
title: "制令号", title: "制令号",
...@@ -96,23 +92,9 @@ ...@@ -96,23 +92,9 @@
width: 180 width: 180
}, },
{ {
title: "货主", title: "仓库",
field: "hzName", field: "ckName",
width: 140
},
{
title: "数量",
field: "sl",
width: 140 width: 140
},
{
title: "维护人",
field: "whr"
},
{
title: "维护时间",
field: "whsj",
fieldType: 'ftDateTime'
} }
], ],
queryParams: [ queryParams: [
......
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
methods: { methods: {
showAdd(ctx) { showAdd(ctx) {
ctx.DialogTitle = '新增' ctx.DialogTitle = '新增'
ctx.DialogWidth = '70vw' ctx.DialogWidth = '80vw'
ctx.showDialog = true ctx.showDialog = true
}, },
getRow(val) { getRow(val) {
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
url: 'lxyl/zlgl/kccj/queryForXj', url: 'lxyl/zlgl/kccj/queryForXj',
queryUrl: 'lxyl/zlgl/kccj/queryForXj', queryUrl: 'lxyl/zlgl/kccj/queryForXj',
tableTitle: [ tableTitle: [
{ {
title: "物料编码", title: "物料编码",
field: "wlxxCode", field: "wlxxCode",
width: 140 width: 140
...@@ -102,24 +102,6 @@ ...@@ -102,24 +102,6 @@
field: "rqCode", field: "rqCode",
width: 140 width: 140
}, },
{
title: "重检日期",
field: "cjrq",
width: 140,
fieldType: 'ftDateTime'
},
{
title: "生产日期",
field: "scrq",
width: 140,
fieldType: 'ftDateTime'
},
{
title: "失效日期",
field: "sxrq",
width: 140,
fieldType: 'ftDateTime'
},
{ {
title: "合格标志", title: "合格标志",
field: "hgbz", field: "hgbz",
......
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