| 
					
				 | 
			
			
				@@ -24,7 +24,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-dropdown-menu slot="dropdown"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-dropdown-item :disabled="browse" @click.native="pleaseCheck">请核数据</el-dropdown-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <el-dropdown-item v-if="false">审核进度</el-dropdown-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-dropdown-item v-if="form.status > 0" @click.native="checkScheduleDialog = true,checkId=form.id">审核进度</el-dropdown-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-dropdown-item v-if="false">撤销请核</el-dropdown-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-dropdown-menu> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-dropdown> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -60,7 +60,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-dropdown-menu slot="dropdown"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-dropdown-item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              :disabled="detailData.seeDisabled" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              :disabled="detailData.seeDisabled || form.status == 3" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               @click.native="saveSell">生成采购 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-dropdown-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-dropdown-item 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -78,6 +78,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           @click="editCustomer(false)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         >保 存 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div v-if="checkDisabled" style="float: right;margin-left: 8px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                     size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                     class="el-button--small-yh" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                     @click.stop="openCheckDialog"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            审批 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div class="customer-main"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -735,6 +743,43 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </bill-application> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <el-dialog 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      append-to-body 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      title="审批" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      class="el-dialogDeep" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :visible.sync="checkDialog" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      width="50%" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :close-on-click-modal="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :destroy-on-close="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :close-on-press-escape="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      v-dialog-drag 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <check 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :checkData="checkData" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :checkDetail="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :idList="[]" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @choceCheckFun="choceCheckFun" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </check> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </el-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <el-dialog 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      append-to-body 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      title="审批进度" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      class="el-dialogDeep" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :visible.sync="checkScheduleDialog" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      width="40%" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :close-on-click-modal="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :destroy-on-close="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :close-on-press-escape="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      v-dialog-drag 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <check-schedule 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :checkId="checkId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :batchNo="batchNo" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @choceScheduleFun="choceScheduleFun" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </check-schedule> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </el-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -793,6 +838,8 @@ import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } from "@/util/validate"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import financialAccount from "../../../components/finance/financialAccount"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { gainUser } from "@/api/basicData/customerInquiry"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import check from "@/components/check/check"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import checkSchedule from "@/components/check/checkSchedule"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   name: "detailsPage", 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -807,7 +854,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     reportDialog, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     feeInfo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     billApplication, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    financialAccount 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    financialAccount, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    check, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    checkSchedule, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   data() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1522,6 +1571,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       browse: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       roleName: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       userList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      checkDisabled: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      checkData: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      checkDialog: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      checkScheduleDialog: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      checkId: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      batchNo:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   mounted() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1563,9 +1618,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (this.detailData.id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.queryData(this.detailData.id) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if (this.detailData.check) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.checkDisabled = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.batchNo = this.detailData.check.batchNo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     gainUser().then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.userList = res.data.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      console.log(this.userList) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (this.detailData.seeDisabled) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // this.bankOfDeposit.column.forEach(item => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2041,6 +2099,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         tradeType: 'GN', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         optionType: 'GN', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         chargeMember: this.form.chargeMember, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        amount: this.form.orderAmount 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if(bool){ //申请货款 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.billData.srcId = -1 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -3184,6 +3243,18 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return true;  //没有动过数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //打开审核 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    openCheckDialog(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.checkData  = this.detailData.check 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.checkDialog = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //关闭审核 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    choceCheckFun(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.checkDialog = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    choceScheduleFun(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.checkScheduleDialog = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 |