|
|
@@ -90,7 +90,7 @@
|
|
|
<div v-if="resourceList.content && resourceList.content.length > 0">
|
|
|
<div class="invoice-btob-list" v-for="item in resourceList.content">
|
|
|
<div class="invoice-btob-wrapper-middle" style="border-top: 0">
|
|
|
- <div class="invoice-btob-wrapper-middle-title">{{item.myEnterprise && item.myEnterprise.enName}}</div>
|
|
|
+ <div class="invoice-btob-wrapper-middle-title">{{item.vendorEnterprise && item.vendorEnterprise.enName}}</div>
|
|
|
</div>
|
|
|
<div class="invoice-btob-wrapper-middle">
|
|
|
<div v-if="item.thisMonthCount && item.thisMonthCount.length > 0">
|
|
|
@@ -220,16 +220,16 @@
|
|
|
></empty-status>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!--<div slot="footer" class="footerBtn clearfix">-->
|
|
|
+ <div slot="footer" class="footerBtn clearfix">
|
|
|
<!--<span class="item inline-block" @click="checkAll()" v-show="!isShowApcheckList.showApcheck">-->
|
|
|
<!--<label class="mobile-cart-check" :class="{active: !isCheckAll}"></label>全选-->
|
|
|
<!--</span>-->
|
|
|
<!--<div class="fr bbgoresult" @click="goTopayfor" v-show="!isShowApcheckList.showApcheck">对账</div>-->
|
|
|
- <!--<div class="fr" style="margin-right: 0.2rem" v-show="!isShowApcheckList.showApcheck">合计:<a style="color: #001408;">{{allMoney}}</a></div>-->
|
|
|
+ <div class="fr" style="margin-right: 0.2rem" >合计:<a style="color: #001408;">{{allMoney}}</a></div>
|
|
|
<!--<div class="fl" style="margin-left: 0.2rem" v-show="isShowApcheckList.showApcheck">合计:<a style="color: #001408;">{{allMoney}}</a></div>-->
|
|
|
<!--<div class="fr bbgoresult" v-show="isShowApcheckList.showApcheck" @click="submitCheck">提交</div>-->
|
|
|
<!--<div class="fr bbgoresult cancel" v-show="isShowApcheckList.showApcheck" @click="deleteCheck">取消</div>-->
|
|
|
- <!--</div>-->
|
|
|
+ </div>
|
|
|
</modal-wrapper>
|
|
|
<modal-wrapper :title="'新增对账单'" :showModal="showModal" @closeAction="showModal = false">
|
|
|
<div class="btobapCheck-modal">
|
|
|
@@ -598,7 +598,8 @@
|
|
|
// 未对账详情
|
|
|
showApcheckList(item) {
|
|
|
this.isShowApcheckList.show = true
|
|
|
- this.isShowApcheckList.enName = item ? item.myEnterprise.enName : this.isShowApcheckList.enName
|
|
|
+ this.isShowApcheckList.vendorUU = item ? item.vendorEnterprise.uu : this.isShowApcheckList.vendorUU
|
|
|
+ this.isShowApcheckList.enName = item ? item.vendorEnterprise.enName : this.isShowApcheckList.enName
|
|
|
this.getApcheckDetailsinfo()
|
|
|
},
|
|
|
// 未对账详情获取数据
|
|
|
@@ -607,7 +608,8 @@
|
|
|
let _params = {
|
|
|
params: {
|
|
|
checkDate: this.isShowApcheckList.thisMonth,
|
|
|
- suuorname: this.isShowApcheckList.enName
|
|
|
+ vendorUU: this.isShowApcheckList.vendorUU
|
|
|
+ // suuorname: this.isShowApcheckList.enName
|
|
|
}
|
|
|
}
|
|
|
// 是否打开自定义时间选项 且
|
|
|
@@ -618,14 +620,16 @@
|
|
|
params: {
|
|
|
fromDate: objTime[1].fromDate,
|
|
|
endDate: objTime[1].toDate,
|
|
|
- suuorname: this.isShowApcheckList.enName
|
|
|
+ vendorUU: this.isShowApcheckList.vendorUU
|
|
|
+ // suuorname: this.isShowApcheckList.enName
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- this.$http.get('/sale/apCheck/getAllByKeywords', _params).then(res => {
|
|
|
+ this.$http.get('/sale/arCheck/getAllByKeywords', _params).then(res => {
|
|
|
res.data.details.forEach(item => {
|
|
|
item.check = true
|
|
|
})
|
|
|
+ this.isShowApcheckList.enName = res.data.vendorName
|
|
|
this.$monthClick = false
|
|
|
this.isShowApcheckList.list = res.data.details
|
|
|
this.$nextTick(() => {
|
|
|
@@ -937,7 +941,7 @@
|
|
|
let _endDate = _d.getFullYear() + '-' + (_d.getMonth() + 1) + '-' + _d.getDate() + ' 00:00:00'
|
|
|
_endDate = new Date(_endDate).getTime()
|
|
|
_fromDate = new Date(_fromDate).getTime()
|
|
|
- _url = '/sale/apCheck/customer'
|
|
|
+ _url = '/sale/arCheck/vendor'
|
|
|
itemL = {
|
|
|
params: {
|
|
|
count: 20,
|
|
|
@@ -1002,6 +1006,9 @@
|
|
|
ShowMonthChoose(tp, key) {
|
|
|
this.$monthType = tp
|
|
|
if (tp === 'inside') {
|
|
|
+ this.ShowApcheckChooseTime = false
|
|
|
+ this.$monthClick = true
|
|
|
+ this.$refs.baseFilter[0].setSelect(1)
|
|
|
let _m = this.isShowApcheckList.thisMonth.split('-')[1].length < 2 ? '0' + this.isShowApcheckList.thisMonth.split('-')[1] : this.isShowApcheckList.thisMonth.split('-')[1]
|
|
|
this.$picker.setSlotValue(0, this.isShowApcheckList.thisMonth.split('-')[0] + '年')
|
|
|
this.$picker.setSlotValue(1, _m + '月')
|