chenrui 4 éve
szülő
commit
3c4a52b86b

+ 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
         }