Commit 19438693 authored by 仇晓婷's avatar 仇晓婷

工艺设置料单优化

parent aefed1f0
...@@ -62,6 +62,7 @@ export default { ...@@ -62,6 +62,7 @@ export default {
orderIds: 0, orderIds: 0,
ids: [], ids: [],
count: 0, count: 0,
mesCode: "",
}, },
detail: null, detail: null,
modal: false, modal: false,
...@@ -161,11 +162,13 @@ export default { ...@@ -161,11 +162,13 @@ export default {
material(row) { material(row) {
if (row.materialbillStatus == 0) { if (row.materialbillStatus == 0) {
this.saveBill(row.id, row.quantity); this.saveBill(row.id, row.quantity);
} else if (row.materialbillStatus == 1) { } else if (row.materialbillStatus == -1) {
this.title = "查看料单"; this.title = "查看料单";
this.detail = () => import("./materialDetails"); this.detail = () => import("./materialDetails");
this.modal = true; this.modal = true;
this.child.orderIds = row.id; this.child.orderIds = row.id;
this.child.mesCode = row.mesCode;
alert(row.mesCode)
} }
}, },
saveBill(orderId, orderCount) { saveBill(orderId, orderCount) {
......
<template> <template>
<div class="datails"> <div class="datails">
<Table border ref="selection" :columns="columns" :data="data1"></Table> <span class="mr10">订单编号:{{eid.mesCode}}</span>
<Table border ref="selection" :columns="columns" :data="data1" class="tableCommon mt5"></Table>
</div> </div>
</template> </template>
<script> <script>
...@@ -9,6 +10,7 @@ export default { ...@@ -9,6 +10,7 @@ export default {
props: { props: {
eid: { eid: {
orderIds: Number, orderIds: Number,
mesCode: String,
}, },
}, },
data() { data() {
......
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