| | |
| | | } |
| | | }, |
| | | created() { |
| | | console.log() |
| | | this.$store.dispatch("geClient") |
| | | this.$store.dispatch("geServiceContract") |
| | | this.$store.dispatch("geSalesDetails") |
| | |
| | | await getPaymentTypeList().then((res) => { |
| | | console.log("支付方式") |
| | | console.log(res.data) |
| | | if (res.data.code === 200) { |
| | | this.paymentTypeListOptions = res.data.data.data |
| | | if (res.code === 200) { |
| | | this.paymentTypeListOptions = res.data.data |
| | | } |
| | | }) |
| | | }, |
| | |
| | | await getBankAccountList().then((res) => { |
| | | console.log("账户") |
| | | console.log(res.data) |
| | | if (res.data.code === 200) { |
| | | this.bankAccountOptions = res.data.data.data |
| | | if (res.code === 200) { |
| | | this.bankAccountOptions = res.data.data |
| | | } |
| | | }) |
| | | }, |
| | |
| | | this.editConfig.infomation.serviceContract_Number = row.number |
| | | this.serviceContractId = row.id |
| | | } else if (value === "contract") { |
| | | this.editConfig.infomation.number = row.number |
| | | this.editConfig.infomation.saleDetailNumber = row.number |
| | | this.SalesDetailsId = row.id |
| | | } |
| | | }, |
| | |
| | | this.editConfig.infomation.serviceContract_Number = "" |
| | | this.serviceContractId = 0 |
| | | } else if (value === "contract") { |
| | | this.editConfig.infomation.number = "" |
| | | this.editConfig.infomation.saleDetailNumber = "" |
| | | this.SalesDetailsId = 0 |
| | | } |
| | | }, |