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

新增查询条件

parent 3e905808
......@@ -7,7 +7,7 @@
<template #toolbar="ctx">
<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 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> -->
</template>
......@@ -16,7 +16,7 @@
<script>
import Edit from './edit.vue'
import Kwbg from './kwbg.vue'
import Kwbg from './kwbg.vue'
export default {
data() {
return {
......@@ -179,6 +179,34 @@
type: 'input',
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 @@
},
methods: {
kwbg(ctx){
kwbg(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
ctx.DialogWidth = '30vw'
ctx.DialogTitle = '库位变更'
ctx.showDialog = true
ctx.DialogWidth = '30vw'
ctx.DialogTitle = '库位变更'
ctx.showDialog = true
} else {
this.$warning('请选中一条数据')
this.$warning('请选中一条数据')
}
},
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