|
|
@ -1,6 +1,6 @@ |
|
|
|
// 存款 |
|
|
|
// 存款 |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div> |
|
|
|
<div class="body"> |
|
|
|
<el-form ref="form" :model="form" label-width="120px"> |
|
|
|
<el-form ref="form" :model="form" label-width="120px"> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-col :span="8"> |
|
|
@ -21,9 +21,11 @@ |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-table |
|
|
|
<el-table |
|
|
|
|
|
|
|
:cell-style="cellStyle" |
|
|
|
ref="filterTable" |
|
|
|
ref="filterTable" |
|
|
|
|
|
|
|
:row-class-name="tableRowClassName" |
|
|
|
:data="tableData" |
|
|
|
:data="tableData" |
|
|
|
height="420" |
|
|
|
:header-cell-style="headerCellStyle" |
|
|
|
style="width: 100%"> |
|
|
|
style="width: 100%"> |
|
|
|
<el-table-column |
|
|
|
<el-table-column |
|
|
|
prop="moneyType" |
|
|
|
prop="moneyType" |
|
|
@ -41,9 +43,11 @@ |
|
|
|
label="数量" |
|
|
|
label="数量" |
|
|
|
align="center" |
|
|
|
align="center" |
|
|
|
> |
|
|
|
> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope" class="myFlex"> |
|
|
|
<el-input type='text' @input="val => inputListen(val, scope.row)" min="0" :value="scope.row.moneyNumber"></el-input> |
|
|
|
<div class="myFlex"> |
|
|
|
<span>张</span> |
|
|
|
<el-input type='text' @input="val => inputListen(val, scope.row)" min="0" :value="scope.row.moneyNumber"></el-input> |
|
|
|
|
|
|
|
<span>张</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
<el-table-column |
|
|
@ -51,17 +55,21 @@ |
|
|
|
align="center" |
|
|
|
align="center" |
|
|
|
> |
|
|
|
> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input type='text' disabled :value="getSum(scope.row.moneyType, scope.row.moneyNumber)"></el-input> |
|
|
|
<div class="myFlex"> |
|
|
|
<span>元</span> |
|
|
|
<el-input type='text' disabled :value="getSum(scope.row.moneyType, scope.row.moneyNumber)"></el-input> |
|
|
|
|
|
|
|
<span>元</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-table |
|
|
|
<el-table |
|
|
|
ref="filterTable" |
|
|
|
:cell-style="cellStyle" |
|
|
|
|
|
|
|
:row-class-name="tableRowClassName" |
|
|
|
|
|
|
|
ref="filterTable2" |
|
|
|
:data="tableData2" |
|
|
|
:data="tableData2" |
|
|
|
height="420" |
|
|
|
:header-cell-style="headerCellStyle" |
|
|
|
style="width: 100%"> |
|
|
|
style="width: 100%"> |
|
|
|
<el-table-column |
|
|
|
<el-table-column |
|
|
|
prop="moneyType" |
|
|
|
prop="moneyType" |
|
|
@ -80,8 +88,10 @@ |
|
|
|
align="center" |
|
|
|
align="center" |
|
|
|
> |
|
|
|
> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input type='text' @input="val => inputListen(val, scope.row)" min="0" :value="scope.row.moneyNumber"></el-input> |
|
|
|
<div class="myFlex"> |
|
|
|
<span>张</span> |
|
|
|
<el-input type='text' @input="val => inputListen(val, scope.row)" min="0" :value="scope.row.moneyNumber"></el-input> |
|
|
|
|
|
|
|
<span>张</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
<el-table-column |
|
|
@ -89,8 +99,10 @@ |
|
|
|
align="center" |
|
|
|
align="center" |
|
|
|
> |
|
|
|
> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input type='text' disabled :value="getSum(scope.row.moneyType, scope.row.moneyNumber)"></el-input> |
|
|
|
<div class="myFlex"> |
|
|
|
<span>元</span> |
|
|
|
<el-input type='text' disabled :value="getSum(scope.row.moneyType, scope.row.moneyNumber)"></el-input> |
|
|
|
|
|
|
|
<span>元</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
@ -102,11 +114,14 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
|
|
|
|
import { tableRowClassName, headerCellStyle, cellStyle } from '@/assets/js/myConfig' |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: 'index', |
|
|
|
name: 'index', |
|
|
|
components:{}, |
|
|
|
components:{}, |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
|
|
|
|
headerCellStyle: headerCellStyle, |
|
|
|
|
|
|
|
cellStyle: cellStyle, |
|
|
|
text:'柜员现金轧账',/* 顶部文字 */ |
|
|
|
text:'柜员现金轧账',/* 顶部文字 */ |
|
|
|
form:{ |
|
|
|
form:{ |
|
|
|
identification: 'CYN人民币', |
|
|
|
identification: 'CYN人民币', |
|
|
@ -190,12 +205,17 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
submitClick() { |
|
|
|
submitClick() { |
|
|
|
console.log('点击提交') |
|
|
|
console.log('点击提交') |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
tableRowClassName: tableRowClassName |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
|
|
|
|
@import '@/assets/css/tablebg.scss'; |
|
|
|
|
|
|
|
.body { |
|
|
|
|
|
|
|
overflow: auto; |
|
|
|
|
|
|
|
} |
|
|
|
.wrap{ |
|
|
|
.wrap{ |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
// padding: 24px 0 24px 24px; |
|
|
|
// padding: 24px 0 24px 24px; |
|
|
@ -208,4 +228,28 @@ export default { |
|
|
|
/deep/ .blueText{ |
|
|
|
/deep/ .blueText{ |
|
|
|
color: blue; |
|
|
|
color: blue; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.submitBtn{ |
|
|
|
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
width: 300px; |
|
|
|
|
|
|
|
font-size: 18px; |
|
|
|
|
|
|
|
height: 68px; |
|
|
|
|
|
|
|
margin-top: 50px; |
|
|
|
|
|
|
|
border-radius: 10px; |
|
|
|
|
|
|
|
bottom: 10px; |
|
|
|
|
|
|
|
left: 50%; |
|
|
|
|
|
|
|
transform: translate(-50%,-20%); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/deep/ .myFlex { |
|
|
|
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
font-size: 18px; |
|
|
|
|
|
|
|
line-height: 88.9px; |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/deep/.el-table .warning-row { |
|
|
|
|
|
|
|
background: oldlace; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/deep/.el-table .success-row { |
|
|
|
|
|
|
|
background: #f0f9eb; |
|
|
|
|
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |