king
2023-03-02 d1f19b794216b37417e114b71c1cd7a2ac3d7748
src/tabviews/custom/components/module/account/index.jsx
@@ -90,13 +90,13 @@
    if (!activeItem && Item) {
      this.setBook(Item)
    } else if (Item) {
      const _this = this
      const that = this
      confirm({
        title: '确定切换账套吗?',
        content: '切换账套时系统需要刷新。',
        onOk() {
          return new Promise(resolve => {
            _this.setBook(Item, resolve)
            that.setBook(Item, resolve)
          })
        },
        onCancel() {}
@@ -115,7 +115,7 @@
    let sid = localStorage.getItem('SessionUid') || ''
    let param = {
      func: 'sPC_TableData_InUpDe',
      LText: `delete  tmp_session_show_key where createuserid='${userid}' and createuser='${sid}' and key_type='fcc_years'
      LText: `delete  tmp_session_show_key where createuserid='${userid}' and key_type='fcc_years'
        insert into tmp_session_show_key ( key_id,key_type,createuserid,CreateUser,CreateStaff) 
        select '${item.id}','fcc_years','${userid}','${sid}','${sessionStorage.getItem('Full_Name') || ''}'`,
      exec_type: 'y'