songshankun
2023-10-17 af2b318da9d4c51b5b8afb2f4cefe86ff049bc7c
feat: 添加缺失的请求
2个文件已修改
16 ■■■■ 已修改文件
src/store/modules/getClientName.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/refundForm/AddRefundFormDialog.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/modules/getClientName.js
@@ -111,6 +111,8 @@
        } else {
          Message.error(res.msg)
        }
      },err=>{
        console.error(err)
      })
    },
    getChanceFilter({commit},newData){
src/views/sales/refundForm/AddRefundFormDialog.vue
@@ -312,7 +312,7 @@
import { getAddSalesRefund, getUpdateSalesRefund } from "@/api/sales/refundForm"
import SelectClientDialog from "@/views/other/commonDialog/SelectClientDialog"
import SelectCommonDialog from "@/views/other/commonDialog/SelectCommonDialog"
import { getPaymentTypeList } from "@/api/common/payment"
import {getBankAccountList, getPaymentTypeList} from "@/api/common/payment"
import codeMixin from "@/views/client/followupRecords/mixin/codeMixin"
import { getSalesReturnList } from "@/api/sales/salesReturn"
import { mapActions } from "vuex"
@@ -410,11 +410,12 @@
        this.objCode.codeStandID = this.editConfig.infomation.codeStandID
      }
      this.getRCodeStandardList()
      this.getBankAccountList()
    },
    getCommonData() {
      getAllData().then((res) => {
        this.memberOptions = res.data.member
        this.accountOptions = res.data.accountId
        // this.accountOptions = res.data.accountId
      })
      this.getPaymentTypeList()
    },
@@ -425,6 +426,15 @@
        }
      })
    },
    async getBankAccountList() {
      await getBankAccountList().then((res) => {
        console.log("账户")
        console.log('账户',res)
        if (res.code === 200) {
          this.accountOptions = res.data.data
        }
      })
    },
    // 保存
    saveClick(formName) {
      this.$refs[formName].validate((valid) => {