Kaynağa Gözat

fix:更改发放日期

liujiayin 3 yıl önce
ebeveyn
işleme
c9f498859c

+ 2 - 2
src/views/platform/message/inner/detail/dialog.vue

@@ -147,7 +147,7 @@ export default {
             qian_ming_id_: ryjbqkDatas[0].qian_zi_tu_wen_
           }
           let returnParams = {
-            tableName: this.tableName,
+            tableName: this.tableName.slice(0, this.tableName.indexOf("(")), // 字符串 "表名(发放时间)"
             paramWhere: [tempObj]
           }
           // 获取所发放的文件
@@ -158,7 +158,7 @@ export default {
               yong_hu_id_: this.$store.getters.userInfo.user.id,
               wen_jian_id_: i,
               shou_quan_: '1',
-              fa_bu_ri_qi_: this.$refs.innerMessage.form.createTime,
+              fa_bu_ri_qi_: this.tableName.slice(test.indexOf("(") + 1, this.tableName.lastIndexOf(")")),
             }
             addwjcysqbs.push(addwjcysqb)
           }