Commit 64acfcca authored by 李苏's avatar 李苏 💬

带入拣货人

parent 05aff83d
...@@ -64,6 +64,19 @@ ...@@ -64,6 +64,19 @@
list, list,
row row
} = obj } = obj
/* 回填拣货人*/
this.$post('lxyl/rkgl/jhtz/default/jhr', {
ckid: row.ckid,
hzid:list[0].hzid,
wlid:list[0].wlid
}).then(res => {
if (res.success) {
this.form.jhrName=res.data.records.username||this.username
this.form.jhrid=res.data.records.id||this.userid
this.$forceUpdate()
}
})
this.form.swlxid = row.swlxid this.form.swlxid = row.swlxid
this.form.lydjDjid=row.djid this.form.lydjDjid=row.djid
this.form.lydjid = row.id this.form.lydjid = row.id
...@@ -88,6 +101,17 @@ ...@@ -88,6 +101,17 @@
list, list,
row row
} = obj } = obj
this.$post('lxyl/rkgl/jhtz/default/jhr', {
ckid: row.ckid,
hzid:list[0].hzid,
wlid:list[0].wlid
}).then(res => {
if (res.success) {
this.form.jhrName=res.data.records.username||this.username
this.form.jhrid=res.data.records.id||this.userid
this.$forceUpdate()
}
})
this.form.swlxid = row.swlxid this.form.swlxid = row.swlxid
this.form.lydjDjid=row.djid this.form.lydjDjid=row.djid
this.form.hzid = row.hzid this.form.hzid = row.hzid
...@@ -127,8 +151,8 @@ ...@@ -127,8 +151,8 @@
} }
}, },
mounted() { mounted() {
this.form.jhrName = this.username // this.form.jhrName = this.username
this.form.jhrid = this.userid // this.form.jhrid = this.userid
}, },
data() { data() {
return { return {
......
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