Browse Source

bug修复

chenrui 4 years ago
parent
commit
3c4a52b86b
1 changed files with 5 additions and 0 deletions
  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 => {
       predictDetail({ sn: this.$route.params.sn }).then(res => {
         if (res.status == 200) {
         if (res.status == 200) {
           this.detailData = res.data
           this.detailData = res.data
+          if (res.data.state == 'RUN') {
+            this.current = 2
+          } else {
+            this.current = 0
+          }
         } else {
         } else {
           this.detailData = null
           this.detailData = null
         }
         }