소스 검색

fix: join('')少了,

zh 2 년 전
부모
커밋
a6bba656de
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/sales_policy/components/replaceRecordForm.vue

+ 1 - 1
src/views/sales_policy/components/replaceRecordForm.vue

@@ -387,7 +387,7 @@ export default {
         this.$errorMsg('请选择有效政策')
         return
       }
-      const policyIds = this.selectedData.map(k => k.id).join('')
+      const policyIds = this.selectedData.map(k => k.id).join(',')
       const newMaterialId = this.newData[0].number
       const oldMaterialId = this.oldData[0].number
       if (!newMaterialId) {