Commit 1c2436ea authored by youjie's avatar youjie

no message

parent 1556254b
......@@ -45,7 +45,7 @@
value-format="yyyy"
:placeholder="$t('objFill.xuanzhenian')">
</el-date-picker> -->
<YearLimit :clearable="false" :dateTime="year" @change="(Date)=>{msg.Year=Date,year=Date,getData(2)}"></YearLimit>
<YearLimit :clearable="false" :dateTime="year" @change="getTime"></YearLimit>
</el-form-item>
</el-col>
<el-col :span="6">
......@@ -65,7 +65,7 @@
</el-form-item>
</el-col>
<el-col :span="6">
<button class="normalBtn page_EasyReport_search" style="left: 900px;" @click="getData(2)">{{$t('pub.searchBtn')}}</button>
<el-button class="normalBtn page_EasyReport_search" style="left: 900px;" @click="getData(2)">{{$t('pub.searchBtn')}}</el-button>
</el-col>
</el-row>
<!-- <el-row >
......@@ -959,10 +959,13 @@ export default {
},
mounted(){
this.financeinfo_post_GetList()
this.getCompanyList()
},
methods:{
getTime(Date){
this.msg.Year=Date
this.year=Date
},
getTaxesShareData: function (type) {
this.msg.sharelist = []
this.loading = true;
......@@ -1017,11 +1020,12 @@ export default {
if(this.msg.BranchId == -1){
this.coinGetShow = false
this.msg.StandardCurrencyId = val>-1?val:this.coinGetList[0].ID
}else{
this.coinGetShow = true
this.msg.StandardCurrencyId = -1
}
this.getData(2)
},
financeinfo_post_GetList(){ // 获取币种
this.apipost('financeinfo_post_GetAllStandardCurrencyList',{}, res => {
......@@ -1033,6 +1037,7 @@ export default {
this.coinGetShow = true
this.msg.StandardCurrencyId = -1
}
this.getData(2)
}
})
},
......@@ -1404,7 +1409,8 @@ export default {
this.$t('objFill.v101.FinancialModule.jianyibb')+".xls"
);
},
getData: function (type) {
getData(type) {
if(this.loading) return
this.msg.sharelist = []
this.loading = true;
if(type==1){
......@@ -1455,33 +1461,6 @@ export default {
this.UpdateStartTime=data.UpdateStartTime;
this.UpdateEndTime=data.UpdateEndTime;
this.loading = false
this.$forceUpdate()
return
for (let i = 0; i<=18; i++) {
this.DataList.push({
ID: i+1,
ZhaiYao: parseInt(Math.random(1000) * 1000 + 1),
YiYue: parseInt(Math.random(1000) * 1000 + 1),
ErYue: parseInt(Math.random(1000) * 1000 + 1),
SanYue: parseInt(Math.random(1000) * 1000 + 1),
DiYiJiDu: parseInt(Math.random(1000) * 1000 + 1),
SiYue: parseInt(Math.random(1000) * 1000 + 1),
WuYue: parseInt(Math.random(1000) * 1000 + 1),
LiuYue: parseInt(Math.random(1000) * 1000 + 1),
DiErJiDu: parseInt(Math.random(1000) * 1000 + 1),
ShangBanNianBao: parseInt(Math.random(1000) * 1000 + 1),
QiYue: parseInt(Math.random(1000) * 1000 + 1),
BaYue: parseInt(Math.random(1000) * 1000 + 1),
JiuYue: parseInt(Math.random(1000) * 1000 + 1),
DiSanJiDu: parseInt(Math.random(1000) * 1000 + 1),
ShiYue: parseInt(Math.random(1000) * 1000 + 1),
ShiYiYue: parseInt(Math.random(1000) * 1000 + 1),
ShiErYue: parseInt(Math.random(1000) * 1000 + 1),
DiSiJiDu: parseInt(Math.random(1000) * 1000 + 1),
XiaBanNianBao: parseInt(Math.random(1000) * 1000 + 1),
ZongJi: parseInt(Math.random(1000) * 1000 + 1),
})
}
} else {
this.loading = false
this.$message.error(res.data.message)
......
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