Commit ba0bbbf6 by yiyu.li

bug

parent 4cbcd5fe
......@@ -42,13 +42,8 @@
</div>
<div class="choose">
<p class="selectTitle">3.操作</p>
<Tabs type="card" :value="tabindex">
<TabPane
label="上料"
:disabled="attr1"
name="1"
@click="getStorages()"
>
<Tabs type="card" :value="tabindex" @on-click="getIndex">
<TabPane label="上料" :disabled="attr1" name="1">
<div class="filter">
<label style="font-size: 16px"
>上料信息:</label
......@@ -113,8 +108,11 @@
}}</span>
</p>
<Button type="primary" @click="modal = true"
@on-click="getStorages()">储位选择</Button
<Button
type="primary"
@click="modal = true"
@on-click="getStorages()"
>储位选择</Button
>
</div>
<div class="flex">
......@@ -136,11 +134,7 @@
>
</div>
</TabPane>
<TabPane
label="下料"
:disabled="attr2"
name="2"
@click="getStorages()"
<TabPane label="下料" :disabled="attr2" name="2"
><div class="flex">
<div>
<Table
......@@ -402,6 +396,10 @@ export default {
// this.getRunningDetail(index);
// }
},
getIndex(name) {
this.tabindex = name;
this.getStorages();
},
//获取储位
getStorages() {
let code = "";
......@@ -482,6 +480,9 @@ export default {
this.orderDetail,
obj
);
if (this.tabindex == "2") {
this.getStorages();
}
} else {
this.$Message.error(this.$t(res.data, msg));
}
......
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