Commit acbf1f72 by yiyu.li

add

parent 44b598bc
...@@ -558,6 +558,24 @@ export default { ...@@ -558,6 +558,24 @@ export default {
this.locationobj = currentRow; this.locationobj = currentRow;
this.orderDetail.fixtureGuid = this.detailobj.fixtureguid; this.orderDetail.fixtureGuid = this.detailobj.fixtureguid;
this.orderDetail.location = this.detailobj.locationid; this.orderDetail.location = this.detailobj.locationid;
if(this.locationobj.id){
this.request("/acc/AutomationOperate/ScanCode?id="+this.locationobj.id, '', "get")
.then((res) => {
if (res.data.ret == 1) {
let obj = res.data.data;
this.orderDetail = Object.assign(
{},
this.orderDetail,
obj
);
} else {
this.$Message.error(this.$t(res.data.msg));
}
})
.catch((err) => {
console.log(err);
});
}
}, },
request(url, data, type) { request(url, data, type) {
if (type == "get") { if (type == "get") {
......
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