Commit f13d81bf authored by 周毅's avatar 周毅

修改界面显示

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