去除零售的多账户

This commit is contained in:
季圣华
2021-07-10 21:47:07 +08:00
parent ff9e778a76
commit 6f839bf7c7
2 changed files with 16 additions and 0 deletions

View File

@@ -113,6 +113,7 @@
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin' import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
import { BillModalMixin } from '../mixins/BillModalMixin' import { BillModalMixin } from '../mixins/BillModalMixin'
import { getMpListShort } from "@/utils/util" import { getMpListShort } from "@/utils/util"
import { getAccount } from '@/api/api'
import { getAction } from '@/api/manage' import { getAction } from '@/api/manage'
import JUpload from '@/components/jeecg/JUpload' import JUpload from '@/components/jeecg/JUpload'
import JDate from '@/components/jeecg/JDate' import JDate from '@/components/jeecg/JDate'
@@ -241,6 +242,13 @@
rows: JSON.stringify(detailArr), rows: JSON.stringify(detailArr),
} }
}, },
initAccount(){
getAccount({}).then((res)=>{
if(res && res.code === 200) {
this.accountList = res.data.accountList
}
})
},
//改变实收金额、收款金额的值 //改变实收金额、收款金额的值
autoChangePrice(target) { autoChangePrice(target) {
let allLastMoney = target.statisticsColumns.allPrice let allLastMoney = target.statisticsColumns.allPrice

View File

@@ -113,6 +113,7 @@
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin' import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
import { BillModalMixin } from '../mixins/BillModalMixin' import { BillModalMixin } from '../mixins/BillModalMixin'
import { getMpListShort } from "@/utils/util" import { getMpListShort } from "@/utils/util"
import { getAccount } from '@/api/api'
import { getAction } from '@/api/manage' import { getAction } from '@/api/manage'
import JUpload from '@/components/jeecg/JUpload' import JUpload from '@/components/jeecg/JUpload'
import JDate from '@/components/jeecg/JDate' import JDate from '@/components/jeecg/JDate'
@@ -252,6 +253,13 @@
initPayTypeList() { initPayTypeList() {
this.payTypeList.push({"value":"现付", "text":"现付"}) this.payTypeList.push({"value":"现付", "text":"现付"})
}, },
initAccount(){
getAccount({}).then((res)=>{
if(res && res.code === 200) {
this.accountList = res.data.accountList
}
})
},
//选择会员的触发事件 //选择会员的触发事件
onChangeOrgan(value) { onChangeOrgan(value) {
getAction("/supplier/info", {id: value}).then(res=>{ getAction("/supplier/info", {id: value}).then(res=>{