Commit 4d788dbb authored by 李苏's avatar 李苏 💬

库龄查询

parent f1db9546
...@@ -1207,6 +1207,19 @@ export const powerRoutes = [ ...@@ -1207,6 +1207,19 @@ export const powerRoutes = [
name: 'kchzcx', name: 'kchzcx',
path: "kchzcx", path: "kchzcx",
}, },
{
component: 'ccgl/cxfx/klgl/index',
hidden: false,
meta: {
"title": "库龄查询",
"icon": "",
"noCache": false,
"link": null,
"mkid": 920191000,
},
name: 'klgl',
path: "klgl",
},
{ {
component: 'ccgl/cxfx/sapkcdb/index', component: 'ccgl/cxfx/sapkcdb/index',
hidden: false, hidden: false,
......
<!--
* @Description: 生成基础basePage组件,屏蔽不必要细节
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:55:27
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2025-03-26 10:47:39
* @FilePath: /lxyl-vue/src/views/ccgl/cxfx/klgl/index.vue
-->
<template>
<BasePage :power='power' class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> -->
</template>
</BasePage>
</template>
<script>
// import Edit from './edit.vue'
export default {
name: 'klgl',
data() {
return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: false,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: false,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false
},
config: {
/* 基本配置*/
url: 'lxyl/cxfx/klql',
tableTitle: [{
title: "仓库",
field: "ckName",
width: 140
},
{
title: "物料编码",
field: "wlxxCode",
width: 140
},
{
title: "物料名称",
field: "wlxxName",
width: 160
},
{
title: "规格",
field: "wlxxGg",
width: 140
},
{
title: "物料批号",
field: "wlph",
width: 140
},
{
title: "指令号",
field: "zlh",
width: 140
},
{
title: "库存单位",
field: "kcdw",
width: 140
},
{
title: "生产日期",
field: "scrq",
fieldType: "ftDate"
},
{
title: "入库日期",
field: "rkrq",
fieldType: "ftDate"
},
{
title: "库龄天数",
field: "klts",
width: 140
},
{
title: "30天以内",
field: "30",
width: 140
},
{
title: "31-60天",
field: "3160",
width: 140
},
{
title: "61-90天",
field: "6190",
width: 140
},
{
title: "91-180天",
field: "91180",
width: 140
},
{
title: "181-270天",
field: "181270",
width: 140
},
{
title: "271-365天",
field: "271365",
width: 140
},
{
title: "366天以上",
field: "366",
width: 140
}
],
queryParams: [
[{
label: '物料编码',
prop: 'wlxxCode',
span: 6,
type: 'input',
value: ''
},
{
label: '批号',
prop: 'wlph',
span: 6,
type: 'input',
value: ''
},
{
label: '制令号',
prop: 'zlh',
span: 6,
type: 'input',
value: ''
},
{
"label": "仓库",
"prop": "ckid",
"span": 6,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "jcsj/common/ck/queryCkid",
"match": {
"value": "id",
"label": "name"
}
}
},
]
],
/* 默认启停用 */
}
}
},
methods: {
/**
* @description:示例按钮
* @param {*} ctx操作basePage实例内容
* @return {*}
* @author: lisu
*/
// demo(ctx){}
},
components: {
// Edit
}
}
</script>
<style>
</style>
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