Commit 63b04789 authored by duxinyuan's avatar duxinyuan

duxinyuan

parent 66537a1b
......@@ -13,7 +13,7 @@ module.exports = {
proxyTable: {},
// Various Dev Server settings
host: '192.168.0.91', // can be overwritten by process.env.HOST
host: 'localhost', // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
......
This diff is collapsed.
<template>
<div>
<div class="table-build">
<div class="table_tr" v-for="(item,index) in data ">
<div class="table_head">
<div class="head_text_div" >
<span>{{ item.msg }}</span>
</div>
</div>
<div class="table_text">
<div class="table_text_div">
<span>{{ item.str1 }}</span>
</div>
</div>
<div class="table_text">
<div class="table_text_div" >
<span>{{ item.str2 }}</span>
</div>
</div>
<div class="table_text3">
<div class="table_text_div" >
<span>{{ item.str3 }}</span>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import '@/assets/js/layer041002.js';
export default {
name: '',
props: {
data: {
type: Object,
default : {
msg : '数据为空'
}
},
dataindex: {
type: [Number, String],
default: 0
}
},
data(){
return {
}
},
created() {
let _this = this;
},
mounted () {
window.addEventListener('scroll', this.handleScroll, true);
// 监听(绑定)滚轮 滚动事件
},
methods: {
},
computed: {
}
}
</script>
<style scoped>
.center {
width : 100%;
text-align:center ;
}
.m-t-3{
margin-top:.3rem;
}
.table-build{
width : 7.5rem;
text-align:center ;
}
.table_head{
width : 1.67rem;
text-align:center;
border-right:1px solid #eeeeee;
padding-left:.36rem;
float:left;
}
.head_text_div{
width :100%;
padding:.24rem 0rem .24rem 0rem ;
text-align:left;
}
.table_text {
width : 1.6rem ;
text-align:center;
border-right:1px solid #eeeeee;
float:left;
}
.table_text3 {
width : 1.6rem ;
text-align:center;
float:left;
}
.table_text_div{
width :100%;
padding:.24rem 0rem .24rem 0rem ;
text-align:center;
}
.table_tr{
width : 100%;
overflow:hidden ;
border-bottom:1px solid #eeeeee;
}
</style>
<!--//http://localhost:8080/#/priceReport?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImlkIjo1NzM5LCJuYW1lIjoiXHU2MDNiXHU2ZDRiXHU4YmQ1MSIsInBob25lIjoiMTU2MDE2NTIzNTMiLCJsZXZlbCI6MzB9LCJ0aW1lU3RhbXBfIjoxNTMwNjA2ODU4fQ.8jL49CjtBMV6BqmaKdJfd4pkGBazrAgQQrutb53Z3mY-->
\ No newline at end of file
<template>
<div>
<div class="table-build">
<div class="table_tr" v-for="(item,index) in listArray ">
<div class="table_head">
<div class="head_text_div" >
<span>{{ item.msg }}</span>
</div>
</div>
<div class="table_text">
<div class="table_text_div">
<span>{{ item.str1 }}</span>
</div>
</div>
<div class="table_text">
<div class="table_text_div" >
<span>{{ item.str2 }}</span>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import '@/assets/js/layer041002.js';
export default {
name: '',
props: {
data: {
type: Object,
default : {
msg : '数据为空'
}
},
dataindex: {
type: [Number, String],
default: 0
}
},
data(){
return {
listArray : []
}
},
created() {
let that = this;
console.log(that.data);
that.initData(that.data);
},
mounted () {
let that = this ;
window.addEventListener('scroll', this.handleScroll, true);
},
methods: {
initData : function(list){
let that = this ;
console.log(list)
var listArray = [
{
"msg" : "调整ID" ,
"str1" : list.length > 0 ? (list[0].id ? list[0].id : "-") :"-",
"str2" : list.length > 1 ? (list[1].id ? list[1].id : "-") :"-",
},
{
"msg" : "调整前房源ID" ,
"str1" : list.length > 0 ? (list[0].house_id ? list[0].house_id : "-") :"-",
"str2" : list.length > 1 ? (list[1].house_id ? list[1].house_id: "-") :"-",
},
{
"msg" : "调整前房源地址" ,
"str1" : list.length > 0 ? (list[0].house_address ? list[0].house_address : "-") :"-",
"str2" : list.length > 1 ? (list[1].house_address ? list[1].house_address : "-") :"-",
},
{
"msg" : "调整类型" ,
"str1" : list.length > 0 ? (list[0].type * 0.7 ? (list[0].type).toFixed(2) : "-") :"-",
"str2" : list.length > 1 ? (list[1].type * 0.7 ? (list[1].type).toFixed(2) : "-") :"-",
},
{
"msg" : "入账日期" ,
"str1" : list.length > 0 ? (list[0].create_time ? list[0].create_time : "-") :"-",
"str2" : list.length > 1 ? (list[1].create_time ? list[1].create_time : "-") :"-",
},
{
"msg" : "收据编号" ,
"str1" : list.length > 0 ? (list[0].receipt_number ? list[0].receipt_number: "-") :"-",
"str2" : list.length > 1 ? (list[1].receipt_number ? list[1].receipt_number : "-") :"-",
},
{
"msg" : "调整金额" ,
"str1" : list.length > 0 ? (list[0].money ? list[0].money : "-") :"-",
"str2" : list.length > 1 ? (list[1].money ? list[1].money : "-") :"-",
},
{
"msg" : "附件" ,
"str1" : list.length > 0 ? (list[0].pay_log_id ? list[0].pay_log_id : "-") :"-",
"str2" : list.length > 1 ? (list[1].pay_log_id ? list[1].pay_log_id : "-") :"-",
}
]
console.log(listArray)
that.listArray = listArray ;
}
},
computed: {
}
}
</script>
<style scoped>
.center {
width : 100%;
text-align:center ;
}
.m-t-3{
margin-top:.3rem;
}
.table-build{
width : 7.5rem;
text-align:center ;
}
.table_head{
width : 1.67rem;
text-align:center;
border-right:1px solid #eeeeee;
padding-left:.36rem;
float:left;
}
.head_text_div{
width :100%;
padding:.24rem 0rem .24rem 0rem ;
text-align:left;
}
.table_text {
width : 2.70rem ;
text-align:center;
border-right:1px solid #eeeeee;
float:left;
}
.table_text3 {
width : 1.6rem ;
text-align:center;
float:left;
}
.table_text_div{
width :100%;
padding:.24rem 0rem .24rem 0rem ;
text-align:center;
}
.table_tr{
width : 100%;
overflow:hidden ;
border-bottom:1px solid #eeeeee;
}
</style>
<!--//http://localhost:8080/#/priceReport?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImlkIjo1NzM5LCJuYW1lIjoiXHU2MDNiXHU2ZDRiXHU4YmQ1MSIsInBob25lIjoiMTU2MDE2NTIzNTMiLCJsZXZlbCI6MzB9LCJ0aW1lU3RhbXBfIjoxNTMwNjA2ODU4fQ.8jL49CjtBMV6BqmaKdJfd4pkGBazrAgQQrutb53Z3mY-->
\ No newline at end of file
<template>
<div>
<div class="table-build" v-if="data.commited == 1">
<div class="DivBox" >
<div class="halfDiv" v-if="data.upint!=0">
以上入账金额:{{ data.upint }}
</div>
<div class="halfDiv" v-if="data.upoutt!=0">
以上出账金额:{{ data.upoutt }}
</div>
<div class="halfDiv" v-if="data.souldt!=0">
入账应汇款:{{ data.souldt }}
</div>
<div class="halfDiv" v-if="data.realin!=0">
实际入账:{{ data.realin }}
</div>
</div>
<div class="DivBox">
<div class="halfDiv" v-if="data.alipay!=0">
施总支付宝:{{ data.alipay }}
</div>
<div class="halfDiv" v-if="data.tenpay!=0">
施总微信:{{ data.tenpay }}
</div>
<div class="halfDiv" v-if="data.realty_pay!=0">
地产转账:{{ data.realty_pay }}
</div>
<div class="halfDiv" v-if="data.family_pay!=0">
世家转账:{{ data.family_pay }}
</div>
<div class="halfDiv" v-if="data.private_bank!=0">
3000账号:{{ data.private_bank }}
</div>
<div class="halfDiv" v-if="data.cash!=0">
现金:{{ data.cash }}
</div>
<div class="halfDiv" v-if="data.pos!=0">
POS机:{{ data.pos }}
</div>
<div class="halfDiv" v-if="data.other_bank!=0">
其他:{{ data.other_bank }}
</div>
</div>
</div>
</div>
</template>
<script>
import '@/assets/js/layer041002.js';
export default {
name: '',
props: {
data: {
type: Object,
default : {
msg : '数据为空'
}
},
dataindex: {
type: [Number, String],
default: 0
}
},
data(){
return {
dataTotalList : ""
}
},
created() {
let _this = this;
},
mounted () {
window.addEventListener('scroll', this.handleScroll, true);
// 监听(绑定)滚轮 滚动事件
},
methods: {
},
computed: {
}
}
</script>
<style scoped>
.center {
width : 100%;
text-align:center ;
}
.m-t-3{
margin-top:.3rem;
}
.table-build{
width : 7.5rem;
text-align:center ;
}
.table_head{
width : 1.67rem;
text-align:center;
border-right:1px solid #eeeeee;
padding-left:.36rem;
float:left;
}
.head_text_div{
width :100%;
padding:.24rem 0rem .24rem 0rem ;
text-align:left;
}
.table_text {
width : 1.6rem ;
text-align:center;
border-right:1px solid #eeeeee;
float:left;
}
.table_text3 {
width : 1.6rem ;
text-align:center;
float:left;
}
.table_text_div{
width :100%;
padding:.24rem 0rem .24rem 0rem ;
text-align:center;
}
.table_tr{
width : 100%;
overflow:hidden ;
border-bottom:1px solid #eeeeee;
}
.DivBox{
width : 100% ;
padding :0.18rem 0rem 0.5rem 0rem ;
overflow:hidden ;
border-bottom:1px solid #eeeeee;
}
.halfDiv{
width: 3.03rem;
padding : 0rem .36rem ;
float:left;
margin-top:0.12rem;
text-align:left;
}
</style>
<!--//http://localhost:8080/#/priceReport?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImlkIjo1NzM5LCJuYW1lIjoiXHU2MDNiXHU2ZDRiXHU4YmQ1MSIsInBob25lIjoiMTU2MDE2NTIzNTMiLCJsZXZlbCI6MzB9LCJ0aW1lU3RhbXBfIjoxNTMwNjA2ODU4fQ.8jL49CjtBMV6BqmaKdJfd4pkGBazrAgQQrutb53Z3mY-->
\ No newline at end of file
......@@ -92,6 +92,12 @@
'nameCustom': '同联下载页',
'query': {
}
},
{
'path': '/priceReport',
'nameCustom': '财务日报提交/查看',
'query': {
}
}
]
}
......
......@@ -18,6 +18,7 @@ import shopList from '@/components/shop/shopList'
import shopSearchList from '@/components/shopSearch/shopSearchList'
import advertisingPage from '@/components/advertisingPage/advertisingPage'
import download from '@/components/download/download'
import priceReport from '@/components/priceReport/priceReport'
Vue.use(VueRouter)
export default new VueRouter({
......@@ -126,5 +127,11 @@ export default new VueRouter({
name: 'v-download',
component: download
}
,
{
path: '/priceReport',
name: 'v-priceReport',
component: priceReport
}
]
})
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment