Commit dab7f76f by jiawei.su
parents b1b5e769 50fc4ae3
...@@ -335,7 +335,7 @@ ...@@ -335,7 +335,7 @@
class="searchInput" class="searchInput"
style="width: 250px" style="width: 250px"
v-model="code" v-model="code"
@on-keyup.enter="getWorkOrderInfo()" @on-keyup.enter="scanOrder()"
/> />
<Button <Button
type="primary" type="primary"
...@@ -346,7 +346,7 @@ ...@@ -346,7 +346,7 @@
</div> </div>
<Button <Button
type="primary" type="primary"
@click="sameFeed()" @click="complexFeed()"
:loading="loading3" :loading="loading3"
>上料</Button >上料</Button
> >
...@@ -748,9 +748,32 @@ export default { ...@@ -748,9 +748,32 @@ export default {
} }
}); });
}, },
scanOrder(){
// 上下料扫工单
let data ={
section:sectionid,
code:''
}
this.request(
"",
data,
""
).then((res) => {
if (res.data.ret == 1) {
this.$Message.success(this.$t(res.data.msg));
} else {
this.$Message.error(this.$t(res.data.msg));
}
});
},
sameFeed() { sameFeed() {
// 同工单上料 // 同工单上料
}, },
complexFeed(){
},
handleRowChange(currentRow, oldCurrentRow) { handleRowChange(currentRow, oldCurrentRow) {
this.detailobj = currentRow; this.detailobj = currentRow;
this.orderDetail.fixtureGuid = this.detailobj.fixtureguid; this.orderDetail.fixtureGuid = this.detailobj.fixtureguid;
......
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