Commit 8a8a18d9 authored by 李苏's avatar 李苏 💬

明细传参

parent 9ffb4763
......@@ -244,6 +244,8 @@
},
methods: {
ckxq(row){
row.start=this.$refs.basePage.queryParams.start
row.end=this.$refs.basePage.queryParams.end
this.$router.push({
name:'sfmxcx',
params:{
......
......@@ -79,6 +79,11 @@
field: "wlph",
width: 130
},
{
title: "制令号",
field: "zlh",
width: 130
},
{
title: "库位",
field: "kwmc",
......@@ -131,8 +136,10 @@
endProp: "end",
span: 8,
type: 'RelDaterangeV2',
startValue: this.$moment().startOf('month').valueOf(),
endValue: this.$moment().endOf('month').valueOf(),
// startValue: this.$moment().startOf('month').valueOf(),
// endValue: this.$moment().endOf('month').valueOf(),
startValue:null,
endValue:null,
},
{
"label": "仓库",
......@@ -196,9 +203,12 @@
/* 覆盖查询条件*/
if(newValue){
this.$nextTick(()=>{
this.$refs.basePage.queryParams.start=newValue.start
this.$refs.basePage.queryParams.end=newValue.end
this.$forceUpdate()
this.$refs.basePage.queryParams.ckid=newValue.ckid
this.$refs.basePage.queryParams.kwid=newValue.kwid
this.$refs.basePage.queryParams.wlph=newValue.wlph
this.$refs.basePage.queryParams.phxx=newValue.wlph
this.$refs.basePage.queryParams.zlh=newValue.zlh
this.$refs.basePage.queryParams.wlid=newValue.wlid
this.$refs.basePage.refresh()
......
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