| | |
| | | import { getPaymentTypeList } from "@/api/common/payment" |
| | | import codeMixin from "@/views/client/followupRecords/mixin/codeMixin" |
| | | import { getSalesReturnList } from "@/api/sales/salesReturn" |
| | | import { mapActions } from 'vuex'; |
| | | import { mapActions } from "vuex" |
| | | |
| | | export default { |
| | | name: "AddRefundFormDialog", |
| | |
| | | reason: data.reason || "", |
| | | refundDate: data.refundDate || "", |
| | | sourceId: this.sourceId || 0, |
| | | sourceType: 1 |
| | | }, |
| | | sourceType: 1, |
| | | codeRule: this.codeRule |
| | | } |
| | | } |
| | | return params |
| | | }, |
| | |
| | | }).then((res)=>{ |
| | | this.getReturnListFliter(res.data.list) |
| | | }) |
| | | |
| | | } else if (value === "salesReturn") { |
| | | console.log(item) |
| | | this.editConfig.infomation.sale_return_nunber = item.number |
| | |
| | | returnDate: data.returnDate || "", |
| | | salesReturnStatusId: data.salesReturnStatusId || 0, |
| | | sourceId: this.SalesDetailsId, |
| | | sourceType: 1 |
| | | }, |
| | | sourceType: 1, |
| | | codeRule: this.codeRule |
| | | } |
| | | } |
| | | return params |
| | | }, |
| | |
| | | this.editConfig.infomation={} |
| | | // this.editConfig.infomation.client_name = "" |
| | | // this.clientId = 0 |
| | | |
| | | } else if (value === "contract") { |
| | | this.editConfig.infomation.salesDetailNumber="" |
| | | this.productTableList.tableData = [] |