Преглед на файлове

fix:修改代码销售合同变更信息录入合同无法带出异常问题

lazy преди 5 месеца
родител
ревизия
f59c08c05e
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/views/myTrade/salesContractManagement/components/ChangeSalesContractAddContent.vue

+ 2 - 2
src/views/myTrade/salesContractManagement/components/ChangeSalesContractAddContent.vue

@@ -195,11 +195,11 @@ export default {
     deatilsInfo: {
       handler(newV) {
         if (this.deatilsInfo && Object.keys(newV).length) {
-          const { supplementContractNumber, addGoods, fileStorageDOs, remark, supplementGoodsInfos } = JSON.parse(JSON.stringify(newV))
+          const { supplementContractNumber, addGoods, fileStorageDOs, files, remark, supplementGoodsInfos } = JSON.parse(JSON.stringify(newV))
           this.ruleForm = {
             supplementContractNumber,
             addGoods,
-            salesContractSupplementContractFile: fileStorageDOs || [],
+            salesContractSupplementContractFile: fileStorageDOs || files || [],
             remark
           }
           this.goodsInfoList = supplementGoodsInfos