|
@@ -33,9 +33,17 @@
|
|
|
value=""
|
|
|
/>
|
|
|
<ws-option
|
|
|
- v-for="item in contractNoList.records"
|
|
|
+ v-if= 'item.reportStatus'
|
|
|
+ v-for="item in contractNoList"
|
|
|
:key="item.constKey"
|
|
|
- :label="item.contractNo+'('+item.closeaccountstatus+')'"
|
|
|
+ :label="item.contractNo+'('+item.reportStatus+')'"
|
|
|
+ :value="item.contractNo"
|
|
|
+ />
|
|
|
+ <ws-option
|
|
|
+ v-if= '!item.reportStatus'
|
|
|
+ v-for="item in contractNoList"
|
|
|
+ :key="item.constKey"
|
|
|
+ :label="item.contractNo"
|
|
|
:value="item.contractNo"
|
|
|
/>
|
|
|
</ws-select>
|
|
@@ -223,7 +231,13 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import {
|
|
|
- salelist,getcontractno,finalsettlementprice,issueapproval,cashierpayment,salesinvoicing,salesbatchinvoicing
|
|
|
+ salelist,
|
|
|
+ getsaleoutcontractno,
|
|
|
+ finalsettlementprice,
|
|
|
+ issueapproval,
|
|
|
+ cashierpayment,
|
|
|
+ salesinvoicing,
|
|
|
+ salesbatchinvoicing
|
|
|
} from '@/model/statisticalReport/index'
|
|
|
import { downloadFile } from '@/utils/batchDown'
|
|
|
import Pagination from '@/components/Pagination'
|
|
@@ -319,8 +333,6 @@ export default {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- currentPage: 1,
|
|
|
- pageSize: 10,
|
|
|
pcFlag: 1,
|
|
|
modification:[],
|
|
|
amendlist:{},
|
|
@@ -497,8 +509,8 @@ export default {
|
|
|
}
|
|
|
else{
|
|
|
this.dialogFormVisible1=true
|
|
|
- for(var i = 0 ; i < this.modification.length ; i++){
|
|
|
- this.collectionNotPayable+= this.modification[i].collectionNotPayable
|
|
|
+ for(var i=0;i<this.modification.length;i++){
|
|
|
+ this.collectionNotPayable +=this.modification[i].collectionNotPayable
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -707,7 +719,7 @@ export default {
|
|
|
.then(response => {
|
|
|
this.warehouseList = response
|
|
|
})
|
|
|
- salelist({
|
|
|
+ getsaleoutcontractno({
|
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
currentPage: this.currentPage,
|
|
|
pageSize: this.pageSize,
|
|
@@ -715,15 +727,6 @@ export default {
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then(response => {
|
|
|
- for (let i = 0; i < response.records.length; i++) {
|
|
|
- if(response.records[i].amountNotPayable==0){
|
|
|
- response.records[i].closeaccountstatus='已结算'
|
|
|
- }else{
|
|
|
- response.records[i].closeaccountstatus='待结算'
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- }
|
|
|
this.contractNoList = response
|
|
|
})
|
|
|
},
|