Commit 45001263 by jiawei.su
parents 836e04f3 043d65cf
...@@ -116,7 +116,13 @@ ...@@ -116,7 +116,13 @@
<div class="flex"> <div class="flex">
<p class="infoLabel">产品图片:</p> <p class="infoLabel">产品图片:</p>
<div> <div>
<img :src="axios.publicPath+orderDetail.url" alt="" style="width:100%" /> <img
:src="
axios.publicPath + orderDetail.url
"
alt=""
style="width: 100%"
/>
</div> </div>
</div> </div>
<div> <div>
...@@ -137,6 +143,8 @@ ...@@ -137,6 +143,8 @@
:columns="columns2" :columns="columns2"
:max-height="200" :max-height="200"
style="width: 500px" style="width: 500px"
highlight-row
@on-current-change="handleRowChange1"
></Table> ></Table>
</div> </div>
<div> <div>
...@@ -326,6 +334,7 @@ export default { ...@@ -326,6 +334,7 @@ export default {
detailobj: {}, detailobj: {},
sectionid: 0, sectionid: 0,
tabindex: "1", tabindex: "1",
locationobj:{}
}; };
}, },
created() { created() {
...@@ -500,8 +509,13 @@ export default { ...@@ -500,8 +509,13 @@ export default {
this.$Message.error("请选择工位"); this.$Message.error("请选择工位");
return false; return false;
} }
if (!this.locationobj.id) {
this.$Message.error("请选择储位");
return false;
}
let data = { let data = {
section: this.sectionid, section: this.sectionid,
id:this.locationobj.id,
}; };
this.request("/acc/AutomationOperate/Unloading", data, "post").thne( this.request("/acc/AutomationOperate/Unloading", data, "post").thne(
(res) => { (res) => {
...@@ -539,6 +553,12 @@ export default { ...@@ -539,6 +553,12 @@ export default {
this.orderDetail.fixtureGuid = this.detailobj.fixtureguid; this.orderDetail.fixtureGuid = this.detailobj.fixtureguid;
this.orderDetail.location = this.detailobj.locationid; this.orderDetail.location = this.detailobj.locationid;
}, },
handleRowChange1(currentRow, oldCurrentRow) {
console.log(currentRow);
this.locationobj = currentRow;
this.orderDetail.fixtureGuid = this.detailobj.fixtureguid;
this.orderDetail.location = this.detailobj.locationid;
},
request(url, data, type) { request(url, data, type) {
if (type == "get") { if (type == "get") {
return this.axios return this.axios
......
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