Bläddra i källkod

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

lazy 5 månader sedan
förälder
incheckning
f59c08c05e

+ 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