浏览代码

bug修复

chenrui 4 年之前
父节点
当前提交
3c4a52b86b
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/views/inventoryManagement/intelligentReplenishment/edit.vue

+ 5 - 0
src/views/inventoryManagement/intelligentReplenishment/edit.vue

@@ -121,6 +121,11 @@ export default {
       predictDetail({ sn: this.$route.params.sn }).then(res => {
         if (res.status == 200) {
           this.detailData = res.data
+          if (res.data.state == 'RUN') {
+            this.current = 2
+          } else {
+            this.current = 0
+          }
         } else {
           this.detailData = null
         }