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=>{