|
@@ -3,9 +3,18 @@
|
|
<div>
|
|
<div>
|
|
<BaseHeaderLayout :leftSpan="12">
|
|
<BaseHeaderLayout :leftSpan="12">
|
|
<template slot="left">
|
|
<template slot="left">
|
|
- <ws-button type="primary">待收款</ws-button>
|
|
|
|
- <ws-button type="primary">已收款</ws-button>
|
|
|
|
- <ws-button type="primary">全部</ws-button>
|
|
|
|
|
|
+ <ws-button
|
|
|
|
+ :type="searchType == 3 ? 'primary' : ''"
|
|
|
|
+ @click="handlestatus(3)"
|
|
|
|
+ >待收款</ws-button>
|
|
|
|
+ <ws-button
|
|
|
|
+ :type="searchType == 4 ? 'primary' : ''"
|
|
|
|
+ @click="handlestatus(4)"
|
|
|
|
+ >已收款</ws-button>
|
|
|
|
+ <ws-button
|
|
|
|
+ :type="searchType == '' ? 'primary' : ''"
|
|
|
|
+ @click="handlestatus('')"
|
|
|
|
+ >全部</ws-button>
|
|
<ws-button type="primary" @click="adopt">备注</ws-button>
|
|
<ws-button type="primary" @click="adopt">备注</ws-button>
|
|
<ws-button type="primary" @click="collect">收款</ws-button>
|
|
<ws-button type="primary" @click="collect">收款</ws-button>
|
|
</template>
|
|
</template>
|
|
@@ -14,6 +23,7 @@
|
|
style="text-align: right; line-height: 60px; padding-right: 10px"
|
|
style="text-align: right; line-height: 60px; padding-right: 10px"
|
|
:span="8"
|
|
:span="8"
|
|
>
|
|
>
|
|
|
|
+ <div class="el-input el-input--small el-input--suffix">
|
|
<el-select
|
|
<el-select
|
|
v-model="contractNo"
|
|
v-model="contractNo"
|
|
placeholder="请选择合同"
|
|
placeholder="请选择合同"
|
|
@@ -25,6 +35,7 @@
|
|
type="input"
|
|
type="input"
|
|
class="findValue"
|
|
class="findValue"
|
|
>
|
|
>
|
|
|
|
+
|
|
<el-option
|
|
<el-option
|
|
v-if="item.listStatus"
|
|
v-if="item.listStatus"
|
|
v-for="item in options"
|
|
v-for="item in options"
|
|
@@ -40,6 +51,7 @@
|
|
:value="item.contractNo"
|
|
:value="item.contractNo"
|
|
/>
|
|
/>
|
|
</el-select>
|
|
</el-select>
|
|
|
|
+ </div>
|
|
</el-col>
|
|
</el-col>
|
|
</template>
|
|
</template>
|
|
</BaseHeaderLayout>
|
|
</BaseHeaderLayout>
|
|
@@ -376,6 +388,10 @@ export default {
|
|
whether(row) {
|
|
whether(row) {
|
|
row.identification = 'true'
|
|
row.identification = 'true'
|
|
},
|
|
},
|
|
|
|
+ handlestatus(status) {
|
|
|
|
+ this.searchType = status
|
|
|
|
+ this.getList()
|
|
|
|
+ },
|
|
// ,relationId :row.relationId
|
|
// ,relationId :row.relationId
|
|
collectment(index,row) {
|
|
collectment(index,row) {
|
|
this.$router.push({ path: 'collectionment',
|
|
this.$router.push({ path: 'collectionment',
|
|
@@ -392,9 +408,7 @@ export default {
|
|
this.$message.warning('请选择一条要收款的条目')
|
|
this.$message.warning('请选择一条要收款的条目')
|
|
} else {
|
|
} else {
|
|
for (var i = 0; i < this.modification.length; i++) {
|
|
for (var i = 0; i < this.modification.length; i++) {
|
|
- this.allmoney1 +=
|
|
|
|
- // this.modification[i].amountNotCollectable
|
|
|
|
- this.modification[i].actualCollectionment - this.modification[i].amountEdPayable
|
|
|
|
|
|
+ this.allmoney1 += this.modification[i].actualCollectionment - this.modification[i].amountEdCollectionable
|
|
}
|
|
}
|
|
this.collectForm = true
|
|
this.collectForm = true
|
|
}
|
|
}
|
|
@@ -601,5 +615,18 @@ export default {
|
|
.inputs {
|
|
.inputs {
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
+.el-col-8 {
|
|
|
|
+ width: 33.33333%;
|
|
|
|
+}
|
|
|
|
+/deep/.findValue .el-input__inner {
|
|
|
|
+ border-top-right-radius: 0px;
|
|
|
|
+ border-bottom-right-radius: 0px;
|
|
|
|
+ width: 385px;
|
|
|
|
+}
|
|
|
|
+/deep/.el-select .el-input .el-input--small .el-input--suffix {
|
|
|
|
+ display: block;
|
|
|
|
+ font-size: 13px;
|
|
|
|
+ margin-left: -67px;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|
|
|
|
|