Commit 2c2685d4 authored by 李苏's avatar 李苏 💬

新增查询条件

parent 3e905808
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<template #toolbar="ctx"> <template #toolbar="ctx">
<el-button @click="tjkw(ctx.basePage)" size='mini' type="primary">推荐库位</el-button> <el-button @click="tjkw(ctx.basePage)" size='mini' type="primary">推荐库位</el-button>
<el-button @click="qktjkw(ctx.basePage)" size='mini' type="primary">清空推荐库位</el-button> <el-button @click="qktjkw(ctx.basePage)" size='mini' type="primary">清空推荐库位</el-button>
<!-- <el-button style="margin-left: 10px;" @click="kwbg(ctx.basePage)" size='mini' <!-- <el-button style="margin-left: 10px;" @click="kwbg(ctx.basePage)" size='mini'
type="primary">库位变更</el-button> --> type="primary">库位变更</el-button> -->
</template> </template>
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<script> <script>
import Edit from './edit.vue' import Edit from './edit.vue'
import Kwbg from './kwbg.vue' import Kwbg from './kwbg.vue'
export default { export default {
data() { data() {
return { return {
...@@ -179,6 +179,34 @@ ...@@ -179,6 +179,34 @@
type: 'input', type: 'input',
value: '' value: ''
}, },
{
"label": "事务类型",
"prop": "swlxid",
"span": 8,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "wms/rkgl/sjtz/init/swlx",
"match": {
"value": "id",
"label": "name"
}
}
},
{
"label": "状态",
"prop": "ckid",
"span": 8,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "wms/rkgl/sjtz/init/zt",
"match": {
"value": "id",
"label": "name"
}
}
},
] ]
], ],
/* 默认启停用 */ /* 默认启停用 */
...@@ -188,15 +216,15 @@ ...@@ -188,15 +216,15 @@
}, },
methods: { methods: {
kwbg(ctx){ kwbg(ctx) {
if (ctx.singleItem && ctx.singleItem.id) { if (ctx.singleItem && ctx.singleItem.id) {
ctx.DialogWidth = '30vw' ctx.DialogWidth = '30vw'
ctx.DialogTitle = '库位变更' ctx.DialogTitle = '库位变更'
ctx.showDialog = true ctx.showDialog = true
} else { } else {
this.$warning('请选中一条数据') this.$warning('请选中一条数据')
} }
}, },
qktjkw(ctx) { qktjkw(ctx) {
......
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