| | |
| | | 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" |
| | |
| | | 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() |
| | | }, |
| | |
| | | } |
| | | }) |
| | | }, |
| | | 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) => { |