|
@@ -37,14 +37,14 @@
|
|
|
<td>
|
|
|
{{item.havePaid}}
|
|
|
</td>
|
|
|
- <td>
|
|
|
+ <td style="background-color: rgb(234, 252, 186);">
|
|
|
<el-input
|
|
|
type="number"
|
|
|
autosize
|
|
|
style="width: 100%;"
|
|
|
resize="none"
|
|
|
onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))"
|
|
|
- placeholder="本次申请"
|
|
|
+ placeholder="请填写金额(元)"
|
|
|
v-model="item.thisApply">
|
|
|
</el-input>
|
|
|
</td>
|
|
@@ -63,7 +63,7 @@
|
|
|
:autosize="{ minRows: 6, maxRows: 20}"
|
|
|
style="width: 100%;"
|
|
|
resize="none"
|
|
|
- placeholder=""
|
|
|
+ placeholder="请输入事由"
|
|
|
v-model="intro">
|
|
|
</el-input>
|
|
|
</td>
|
|
@@ -200,9 +200,6 @@ export default {
|
|
|
this.ty=res.data[0][0].type
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
res['data'][1].filter(e=>{
|
|
|
if (e.actualuse==null) {
|
|
|
e.actualuse=e.applyfund
|
|
@@ -213,9 +210,7 @@ export default {
|
|
|
let arr= res['data'][1].filter(e=>{
|
|
|
return e.actualuse!=null
|
|
|
})
|
|
|
- // let isUse = arr;
|
|
|
if (arr) {
|
|
|
- // console.log(111);
|
|
|
arr.forEach(item=>{
|
|
|
let JP = JSON.parse(item['actualuse']);
|
|
|
this.fundList[0]['havePaid']+=Number(JP['device']);
|
|
@@ -235,7 +230,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
download(){
|
|
|
- if(!this.projectName) return this.$message.error('请选择项目名称')
|
|
|
+ if(!this.projectName) return this.$message.error('请选择活动名称')
|
|
|
let data= this.fundList.filter(e=>{
|
|
|
return e.thisApply==''
|
|
|
})
|
|
@@ -247,7 +242,7 @@ export default {
|
|
|
this.downLoadExcelDig=false
|
|
|
},
|
|
|
submitData(){
|
|
|
- if(!this.projectName) return this.$message.error('请选择项目名称')
|
|
|
+ if(!this.projectName) return this.$message.error('请选择活动名称')
|
|
|
let data= this.fundList.filter(e=>{
|
|
|
return e.thisApply==''
|
|
|
})
|
|
@@ -333,34 +328,34 @@ export default {
|
|
|
margin-top: 20px;
|
|
|
}
|
|
|
|
|
|
- .fundType{
|
|
|
- width: 80%;
|
|
|
- margin-top: 30px;
|
|
|
- :deep(.el-input__inner){
|
|
|
- width: 200px;
|
|
|
- &::-webkit-outer-spin-button,
|
|
|
- &::-webkit-inner-spin-button {
|
|
|
- -webkit-appearance: none;
|
|
|
- }
|
|
|
- &[type="number"]{
|
|
|
- -moz-appearance: textfield;
|
|
|
- }
|
|
|
- }
|
|
|
- :deep(.el-textarea__inner){
|
|
|
- width: 80%;
|
|
|
- }
|
|
|
- .fundInp{
|
|
|
- display: flex;
|
|
|
- margin-bottom: 10px;
|
|
|
- }
|
|
|
+ // .fundType{
|
|
|
+ // width: 80%;
|
|
|
+ // margin-top: 30px;
|
|
|
+ // :deep(.el-input__inner){
|
|
|
+ // width: 200px;
|
|
|
+ // &::-webkit-outer-spin-button,
|
|
|
+ // &::-webkit-inner-spin-button {
|
|
|
+ // -webkit-appearance: none;
|
|
|
+ // }
|
|
|
+ // &[type="number"]{
|
|
|
+ // -moz-appearance: textfield;
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // :deep(.el-textarea__inner){
|
|
|
+ // width: 80%;
|
|
|
+ // }
|
|
|
+ // .fundInp{
|
|
|
+ // display: flex;
|
|
|
+ // margin-bottom: 10px;
|
|
|
+ // }
|
|
|
|
|
|
- }
|
|
|
+ // }
|
|
|
|
|
|
.table{
|
|
|
border: none;
|
|
|
border-top: solid 1px black;
|
|
|
// border-right: solid 1px black;
|
|
|
- width: 80%;
|
|
|
+ width: 85%;
|
|
|
margin: auto;
|
|
|
margin-top: 30px;
|
|
|
.textLeft{
|
|
@@ -375,10 +370,10 @@ export default {
|
|
|
border: none;
|
|
|
border-bottom: solid 1px black;
|
|
|
border-right: solid 1px black;
|
|
|
- height: 50px;
|
|
|
- text-align: center;
|
|
|
- line-height: 30px;
|
|
|
- width: 9%;
|
|
|
+ height: 50px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 30px;
|
|
|
+ width: 100px;
|
|
|
|
|
|
&:nth-child(1){
|
|
|
border-left: solid 1px black;
|
|
@@ -398,6 +393,7 @@ export default {
|
|
|
}
|
|
|
:deep(.el-input__inner){
|
|
|
border: none ;
|
|
|
+ background: rgb(234, 252, 186);
|
|
|
border-radius: 0px;
|
|
|
text-align: center;
|
|
|
font-size: 16px;
|