| 
					
				 | 
			
			
				@@ -11,13 +11,19 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             >返回列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          class="el-button--small-yh add-customer-btn" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          @click="editCustomer" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          >保存数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div class="add-customer-btn"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            type="success" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            :disabled="!form.id" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @click="copyDoc" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            复制新单 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button type="primary" size="small" @click="editCustomer" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            >保存数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <containerTitle 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         title="基础资料" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -650,7 +656,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               label: "dictValue", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               value: "dictValue" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        row: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            row: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             span: 6 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -697,7 +703,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             cell: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      loading: false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   props: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -717,14 +724,39 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     cellStyle() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return "padding:0;height:40px;"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    copyDoc() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.$emit("copyOrder", this.form.id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getDetail(id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.loading = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       detail(id) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         .then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (this.detailData.status == "copy") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            delete res.data.data.id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            delete res.data.data.createTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            delete res.data.data.createUser; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            delete res.data.data.createUserName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            delete res.data.data.updateTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            delete res.data.data.updateUser; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            delete res.data.data.updateUserName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            delete res.data.data.status; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            delete res.data.data.isDeleted; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            res.data.data.causeList.forEach(e => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              delete e.id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              delete e.pid; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              delete e.createTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              delete e.createUser; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              delete e.updateTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              delete e.updateUser; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              delete e.status; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              delete e.isDeleted; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.form = res.data.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.dataList = res.data.data.causeList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         .finally(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          // this.loading = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.loading = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           // this.showBut = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           // this.pageLoading = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -764,22 +796,22 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$refs["form"].validate((valid, done) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         done(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (valid) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          const num = addAllsalary( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.form.salaryWithdrawalStandard, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.form.rankWithdrawalStandard, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.form.virtualWorkloadSalary 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          const num2 = addAllsalary2( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.form.salaryBase, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.form.workloadSalary, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.form.dailyAssessmentCriteria, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.form.termPerformanceSalary 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          if (num != num2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return this.$message.error( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              "拨付金额" + num + "不等于标准金额" + num2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // const num = addAllsalary( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //   this.form.salaryWithdrawalStandard, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //   this.form.rankWithdrawalStandard, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //   this.form.virtualWorkloadSalary 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // const num2 = addAllsalary2( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //   this.form.salaryBase, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //   this.form.workloadSalary, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //   this.form.dailyAssessmentCriteria, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //   this.form.termPerformanceSalary 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // if (num != num2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //   return this.$message.error( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //     "拨付金额" + num + "不等于标准金额" + num2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //   ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           submit({ ...this.form, causeList: this.dataList }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             .then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.$message.success("保存成功"); 
			 |