Commit c1fd6b9b authored by renjintao's avatar renjintao

plan--dispath

parent 7afaf244
...@@ -18,6 +18,12 @@ ...@@ -18,6 +18,12 @@
</FormItem> </FormItem>
</Col> </Col>
</Row> </Row>
<Row >
&nbsp;
</Row>
<Row >
&nbsp;
</Row>
<FormItem> <FormItem>
<Button type="primary" @click="handleSubmit" :disabled="disabled">保存</Button> <Button type="primary" @click="handleSubmit" :disabled="disabled">保存</Button>
<Button @click="handleClose" class="ml20">取消</Button> <Button @click="handleClose" class="ml20">取消</Button>
......
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
</RadioGroup> </RadioGroup>
<p class="pl30 pt10" v-show="scheduleType!=''"> <p class="pl30 pt10" v-show="scheduleType!=''">
确定将订单 {{resultsOrderList}} 移入 确定将订单 <span class="fwBold">{{resultsOrderList}}</span> 移入
<span class="red fwBold">{{scheduleTypeName}}</span> <span class="red fwBold">{{scheduleTypeName}}</span>
</p> </p>
<p>&nbsp;</p> <p>&nbsp;</p>
...@@ -469,7 +469,6 @@ export default { ...@@ -469,7 +469,6 @@ export default {
this.canselFooter() this.canselFooter()
this.resultsOrderList = value.mesCode; this.resultsOrderList = value.mesCode;
this.listBatchIds = [value.id]; this.listBatchIds = [value.id];
this.scheduleType="" this.scheduleType=""
this.scheduleTypeName="" this.scheduleTypeName=""
if (value.mainRoutingSetStatus == 0) { if (value.mainRoutingSetStatus == 0) {
...@@ -632,24 +631,24 @@ export default { ...@@ -632,24 +631,24 @@ export default {
this.$store.commit("setCountAps", this.$store.state.countAps + count); this.$store.commit("setCountAps", this.$store.state.countAps + count);
} }
}, },
//进入页面加载排产count //进入页面加载排产count-----
loadInitCount() { loadInitCount() {
this.$store.commit("setCountAps", 0); // this.$store.commit("setCountAps", 0);
this.$store.commit("setCountAi", 0); // this.$store.commit("setCountAi", 0);
this.$store.commit("setCountAll", 0); // this.$store.commit("setCountAll", 0);
this.$store.commit("setCountRun", 0); // this.$store.commit("setCountRun", 0);
Api.getCount() // Api.getCount()
.then(res => { // .then(res => {
if (res.success && res.result == true) { // if (res.success && res.result == true) {
this.$store.commit("setCountAps", 3); // this.$store.commit("setCountAps", 3);
this.$store.commit("setCountAi", 1); // this.$store.commit("setCountAi", 1);
this.$store.commit("setCountAll", 1); // this.$store.commit("setCountAll", 1);
this.$store.commit("setCountRun", 0); // this.$store.commit("setCountRun", 0);
} // }
}) // })
.catch(err => { // .catch(err => {
this.$Message.error("获取排产模型数量失败"); // this.$Message.error("获取排产模型数量失败");
}); // });
} }
} }
}; };
......
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