祁鹏飞 před 1 měsícem
rodič
revize
9663161baf

+ 3 - 6
src/views/quoteConfig/agreement/agreementDetails.vue

@@ -1203,7 +1203,7 @@ const costitemCopy = () => {
     }
   ).then(() => {
     const params = {
-      costIds: costIds.value,
+      costIds: sysUpAndDownList.value,
       agreementId: agreementInfo.value.id,
       coverRuleId: coverRuleId.value,
       productId: costitemObj.value.productId,
@@ -1212,11 +1212,8 @@ const costitemCopy = () => {
     api.agreementApi.AgreementFeecopy(params).then((res: any) => {
       if (res.code == '200') {
         agreementRulesList();
-        ElMessage({
-          type: 'success',
-          message: res.msg,
-          plain: true,
-        })
+        if(res.msg) ElMessage.warning(res.msg)
+        if(!res.msg) ElMessage.success('复制成功')
         copyDialog.value = false
       }
     });

+ 2 - 6
src/views/quoteConfig/agreement/components/operatorTrajectory.vue

@@ -17,13 +17,9 @@ const dialog = ref(false)
 const tableData = ref([])
 const columns = [
   { prop: "operationContent", label: "操作内容描述", minWidth: '500', },
-  {
-    prop: "operatorName", label: "操作类型", width: '120',
-  },
+  { prop: "operatorName", label: "操作类型", width: '120', },
   { prop: "createTime", label: "操作时间", width: '240', },
-  {
-    prop: "createByName", label: "操作人", width: '120',
-  },
+  { prop: "createByName", label: "操作人", width: '120', },
 
 ];
 const pageInfo = ref({