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

工艺设置料单优化

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