| 
					
				 | 
			
			
				@@ -79,21 +79,37 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </a-spin> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <!-- 服务水平 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <replenishment-service-level-modal :openModal="openModal" :itemSn="form.trendSn" @close="openModal=false" @ok="handleOk" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <!-- 算法说明 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <commonModal 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :modalTit="explainType=='qspj'?'趋势平均法说明':'销售保障法说明'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      bodyPadding="10px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      width="1024px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :showFooter="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :openModal="showDetailModal" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      @cancel="showDetailModal=false"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <explainQspj v-if="explainType=='qspj'" @close="showDetailModal=false"></explainQspj> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <explainXsbz v-if="explainType=='xsbz'" @close="showDetailModal=false"></explainXsbz> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </commonModal> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { commonMixin } from '@/utils/mixin' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import commonModal from '@/views/common/commonModal.vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import ReplenishmentServiceLevelModal from './serviceLevelModal.vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import explainQspj from './explainQspj.vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import explainXsbz from './explainXsbz.vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import productRange from './productRange.vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { predictDetail, predictRangeSave, predictSave, predictTrendList, predictRun } from '@/api/predict' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   name: 'IntelligentReplenishmentEdit', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   mixins: [commonMixin], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  components: { ReplenishmentServiceLevelModal, productRange }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  components: { ReplenishmentServiceLevelModal, productRange, commonModal, explainQspj, explainXsbz }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   data () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       spinning: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      showDetailModal: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      explainType: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       tableHeight: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       formItemLayout: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         labelCol: { span: 2 }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -210,11 +226,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 算法说明 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handleExplain (type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if (type == 'xsbz') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.$router.push({ path: `/inventoryManagement/intelligentReplenishment/explainXsbz` }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } else if (type == 'qspj') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.$router.push({ path: `/inventoryManagement/intelligentReplenishment/explainQspj` }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.explainType = type 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.showDetailModal = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 服务水平选择 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handleOk (val) { 
			 |