ソースを参照

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('请选择有效政策')
         this.$errorMsg('请选择有效政策')
         return
         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 newMaterialId = this.newData[0].number
       const oldMaterialId = this.oldData[0].number
       const oldMaterialId = this.oldData[0].number
       if (!newMaterialId) {
       if (!newMaterialId) {