祁鹏飞 2 сар өмнө
parent
commit
739ec2eb93

+ 1 - 1
src/views/quoteConfig/agreement/agreementDetails.vue

@@ -708,7 +708,7 @@ const ruleCopy = (id: string) => {
 }
 }
 //复制规则
 //复制规则
 const submitCopy = () => {
 const submitCopy = () => {
-  api.agreementApi.rulesCopy(agreementInfo.value.id, ruleId.value).then((res: any) => {
+  api.agreementApi.rulesCopy(agreementId.value, ruleId.value).then((res: any) => {
     if (res.code == '200') {
     if (res.code == '200') {
       agreementRulesList();
       agreementRulesList();
       copyDialog1.value = false
       copyDialog1.value = false