Commit 56734c6f authored by 李苏's avatar 李苏 💬

增加搜索条件

parent d46c98f4
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
export default { export default {
data() { data() {
return { return {
showAdd:false, showAdd: false,
power: { power: {
add: false, add: false,
copy: false, copy: false,
...@@ -41,11 +41,10 @@ ...@@ -41,11 +41,10 @@
saveSelected: false saveSelected: false
}, },
config: { config: {
queryDetail:true, queryDetail: true,
/* 基本配置*/ /* 基本配置*/
url: 'lxyl/rkgl/rkthtz', url: 'lxyl/rkgl/rkthtz',
tableTitle: [ tableTitle: [{
{
title: "状态", title: "状态",
field: "zt", field: "zt",
width: 80, width: 80,
...@@ -135,8 +134,7 @@ ...@@ -135,8 +134,7 @@
}, },
], ],
queryParams: [ queryParams: [
[ [{
{
label: '日期', label: '日期',
startProp: "start", startProp: "start",
endProp: "end", endProp: "end",
...@@ -148,14 +146,21 @@ ...@@ -148,14 +146,21 @@
{ {
label: '单号', label: '单号',
prop: 'djid', prop: 'djid',
span: 4, span: 5,
type: 'input',
value: ''
},
{
label: '来源单号',
prop: 'lydjid',
span: 5,
type: 'input', type: 'input',
value: '' value: ''
}, },
{ {
label: '状态', label: '状态',
prop: 'zt', prop: 'zt',
span: 6, span: 5,
type: 'RelSelect', type: 'RelSelect',
typeConfig: { typeConfig: {
src: 'lxyl/rkgl/rkthtz/init/zt' src: 'lxyl/rkgl/rkthtz/init/zt'
...@@ -211,10 +216,10 @@ ...@@ -211,10 +216,10 @@
this.$warning('请选中一条数据') this.$warning('请选中一条数据')
} }
}, },
cgthtb(ctx){ cgthtb(ctx) {
ctx.DialogWidth='30vw' ctx.DialogWidth = '30vw'
ctx.DialogTitle='同步采购退货单' ctx.DialogTitle = '同步采购退货单'
ctx.showDialog=true ctx.showDialog = true
// if (ctx.singleItem && ctx.singleItem.id) { // if (ctx.singleItem && ctx.singleItem.id) {
// this.$confirm('是否继续操作, 是否继续?', '提示', { // this.$confirm('是否继续操作, 是否继续?', '提示', {
// confirmButtonText: '确定', // confirmButtonText: '确定',
...@@ -234,12 +239,12 @@ ...@@ -234,12 +239,12 @@
// this.$warning('请选中一条数据') // this.$warning('请选中一条数据')
// } // }
}, },
akck(ctx){ akck(ctx) {
ctx.showAdd=true ctx.showAdd = true
}, },
/* 示例*/ /* 示例*/
getRow(val){ getRow(val) {
this.$emit('getRow',val) this.$emit('getRow', val)
} }
}, },
components: { components: {
......
...@@ -183,7 +183,14 @@ ...@@ -183,7 +183,14 @@
type: 'input', type: 'input',
value: '' value: ''
} }
] ],
[{
label: "检验批号",
prop: "jyph",
span: 5,
type: 'input',
value: ''
}, ]
], ],
/* 默认启停用 */ /* 默认启停用 */
...@@ -193,7 +200,7 @@ ...@@ -193,7 +200,7 @@
}, },
methods: { methods: {
sendSap(ctx){ sendSap(ctx) {
let list = ctx.$refs.TablePager.selectedList || [] let list = ctx.$refs.TablePager.selectedList || []
if (list.length > 0) { if (list.length > 0) {
this.$confirm('是否继续操作, 是否继续?', '提示', { this.$confirm('是否继续操作, 是否继续?', '提示', {
......
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