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

控制查询明细

parent 2b528d06
...@@ -43,12 +43,7 @@ ...@@ -43,12 +43,7 @@
this.$refs.mx.$refs.basePage.$refs['TablePager'].pageQuery({ this.$refs.mx.$refs.basePage.$refs['TablePager'].pageQuery({
setFirstCurrent: true setFirstCurrent: true
}) })
}, }
// rkdmxGetRow(row){
// let mid = row.id
// this.$refs.rkqd.$refs.basePage.queryParams.mid = mid
// this.$refs.rkqd.$refs.basePage.$refs['TablePager'].pageQuery()
// }
} }
} }
......
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
}, },
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: 'wms/rkgl/mpzy', url: 'lxyl/rkgl/sjrw/lkrk',
queryUrl: 'wms/rkgl/mpzy/query/detail', queryUrl: 'lxyl/rkgl/sjrw/lkrk/query/detail',
tableTitle: [ tableTitle: [
{ {
title: "唯一码", title: "唯一码",
......
...@@ -156,8 +156,8 @@ ...@@ -156,8 +156,8 @@
"value": "id", "value": "id",
"label": "name" "label": "name"
}, },
params:{ params: {
flid:'L' flid: 'L'
} }
} }
}, },
...@@ -211,25 +211,28 @@ ...@@ -211,25 +211,28 @@
}, },
methods: { methods: {
saveGw(form){ getRow(val) {
let params={ this.$emit('getRow', val)
gwid:form.gwid, },
rqid:form.rqid saveGw(form) {
let params = {
gwid: form.gwid,
rqid: form.rqid
} }
this.$post('lxyl/rkgl/sjrw/lkrk/start',params).then(res=>{ this.$post('lxyl/rkgl/sjrw/lkrk/start', params).then(res => {
if(res.success){ if (res.success) {
this.$refs.basePage.refresh() this.$refs.basePage.refresh()
} }
}) })
}, },
sj(ctx){ sj(ctx) {
if(ctx.singleItem&&ctx.singleItem.id){ if (ctx.singleItem && ctx.singleItem.id) {
ctx.DialogTitle='上架选择工位' ctx.DialogTitle = '上架选择工位'
ctx.DialogWidth='30vw' ctx.DialogWidth = '30vw'
ctx.showDialog=true ctx.showDialog = true
}else{ } else {
this.warning('请选中一条数据') this.warning('请选中一条数据')
} }
...@@ -237,7 +240,8 @@ ...@@ -237,7 +240,8 @@
}, },
components: { components: {
Edit,Xzgw Edit,
Xzgw
} }
} }
......
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
}, },
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: 'wms/rkgl/mpzy', url: 'lxyl/rkgl/sjrw/pkrk',
queryUrl: 'wms/rkgl/mpzy/query/detail', queryUrl: 'lxyl/rkgl/sjrw/pkrk/query/detail',
tableTitle: [ tableTitle: [
{ {
title: "唯一码", title: "唯一码",
......
...@@ -160,6 +160,9 @@ ...@@ -160,6 +160,9 @@
}, },
methods: { methods: {
getRow(val) {
this.$emit('getRow', val)
},
}, },
components: { components: {
......
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