From 6f839bf7c785fa4b428e0e8280ecdb62180f1834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Sat, 10 Jul 2021 21:47:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E9=9B=B6=E5=94=AE=E7=9A=84?= =?UTF-8?q?=E5=A4=9A=E8=B4=A6=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/views/bill/modules/RetailBackModal.vue | 8 ++++++++ jshERP-web/src/views/bill/modules/RetailOutModal.vue | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/jshERP-web/src/views/bill/modules/RetailBackModal.vue b/jshERP-web/src/views/bill/modules/RetailBackModal.vue index 9225c011..ed7c8736 100644 --- a/jshERP-web/src/views/bill/modules/RetailBackModal.vue +++ b/jshERP-web/src/views/bill/modules/RetailBackModal.vue @@ -113,6 +113,7 @@ import { JEditableTableMixin } from '@/mixins/JEditableTableMixin' import { BillModalMixin } from '../mixins/BillModalMixin' import { getMpListShort } from "@/utils/util" + import { getAccount } from '@/api/api' import { getAction } from '@/api/manage' import JUpload from '@/components/jeecg/JUpload' import JDate from '@/components/jeecg/JDate' @@ -241,6 +242,13 @@ rows: JSON.stringify(detailArr), } }, + initAccount(){ + getAccount({}).then((res)=>{ + if(res && res.code === 200) { + this.accountList = res.data.accountList + } + }) + }, //改变实收金额、收款金额的值 autoChangePrice(target) { let allLastMoney = target.statisticsColumns.allPrice diff --git a/jshERP-web/src/views/bill/modules/RetailOutModal.vue b/jshERP-web/src/views/bill/modules/RetailOutModal.vue index 9ec710f2..72b95e23 100644 --- a/jshERP-web/src/views/bill/modules/RetailOutModal.vue +++ b/jshERP-web/src/views/bill/modules/RetailOutModal.vue @@ -113,6 +113,7 @@ import { JEditableTableMixin } from '@/mixins/JEditableTableMixin' import { BillModalMixin } from '../mixins/BillModalMixin' import { getMpListShort } from "@/utils/util" + import { getAccount } from '@/api/api' import { getAction } from '@/api/manage' import JUpload from '@/components/jeecg/JUpload' import JDate from '@/components/jeecg/JDate' @@ -252,6 +253,13 @@ initPayTypeList() { this.payTypeList.push({"value":"现付", "text":"现付"}) }, + initAccount(){ + getAccount({}).then((res)=>{ + if(res && res.code === 200) { + this.accountList = res.data.accountList + } + }) + }, //选择会员的触发事件 onChangeOrgan(value) { getAction("/supplier/info", {id: value}).then(res=>{