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

增加搜索条件

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