Commit ec9f7fe9 authored by 李苏's avatar 李苏 💬

痴呆查询

parent 837886e6
......@@ -1142,6 +1142,19 @@ export const powerRoutes = [
name: 'pcxxcx',
path: "pcxxcx",
},
{
component: 'ccgl/cxfx/dzcxfx/index',
hidden: false,
meta: {
"title": "呆滞物料查询",
"icon": "",
"noCache": false,
"link": null,
"mkid": 920190700,
},
name: 'dzcxfx',
path: "dzcxfx",
}
]
},
{
......
<template>
<DefaultDialog :app='app'>
<div slot="form" style="display: flex;height: 70vh;">
DialogTitle:'新增',
showDialog:false,
</div>
<div slot="reFooter" class="refooter" >
<span slot="footer" class="dialog-footer" >
<el-button @click="app.showDialog=false">取 消</el-button>
<el-button type="primary" @click="save()">保 存</el-button>
</span>
</div>
</DefaultDialog>
</template>
<script>
export default {
props: {
app: {
type: Object,
default: ()=>{
return {}
}
}
},
async mounted() {
},
data() {
return {
}
},
methods: {
}
}
</script>
<style scoped>
</style>
<template>
<RelDialog width="50%" :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'>
<el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<el-row :gutter="20" :app="this">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false " v-for="(item,index) in editColItemList " :value="item.value" :span="item.span" :label="item.label" :prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" />
</el-row>
</el-form>
</RelDialog>
</template>
<script>
import {
editMixin
} from 'common'
export default {
mixins: [editMixin],
data() {
return {
editColItemList: [
{
label: '编码',
prop: 'code',
span: 12,
type: 'input',
required:true,
},
{
label: '名称',
prop: 'name',
span: 12,
type: 'input',
required:true,
},
{
label: '备注',
prop: 'bz',
span: 24,
type: 'input'
},
]
}
}
}
</script>
<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 {
data() {
return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: false,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: false,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false,
},
config: {
/* 基本配置*/
url: 'kc/dzwlcx',
tableTitle: [{
title: "仓库",
field: "ckName",
width: 140
},
{
title: "物料编码",
field: "wlcode",
width: 140
},
{
title: "物料名称",
field: "wlmc",
width: 160
},
{
title: "规格",
field: "gg",
width: 160
},
{
title: "库位",
field: "kwmc",
width: 140
},
{
title: "批号",
field: "wlph",
width: 140
},
{
title: "库存数量",
field: "kcsl",
width: 100,
fieldType: 'float'
},
{
title: "计量单位",
"field": "jldwname",
"width": 80
},
{
title: "入库日期",
"field": "rkrq",
fieldType: 'ftDate'
},
{
title: "出库日期",
"field": "ckrq",
fieldType: 'ftDate'
},
{
title: "出库日期",
"field": "ckrq",
fieldType: 'ftDate'
},
{
title: "呆滞天数",
"field": "zlts",
fieldType: 'ftInt'
},
],
queryParams: [
[{
"label": "仓库",
"prop": "ckid",
"span": 6,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "jcsj/common/ck/queryCkid",
"match": {
"value": "id",
"label": "name"
}
}
},
{
label: '呆滞天数',
prop: 'zlts',
span: 6,
type: 'inputNumber',
value: 1
},
{
label: '物料信息',
prop: 'wlinfo',
span: 6,
type: 'input',
value: ''
}
]
],
/* 默认启停用 */
showqt: false,
}
}
},
methods: {
/* 示例*/
// demo(basePage){
// }
},
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