|
@@ -23,7 +23,7 @@
|
|
|
</div>
|
|
|
<div class="table-box">
|
|
|
<div class="sheet-wrap" v-if="sheetDetail" v-html="sheetDetail"></div>
|
|
|
- <tableNoData text="该日期暂无数据" v-else/>
|
|
|
+ <tableNoData :text="$t('MsgPrompt.no_data_date_msg')" v-else/>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -36,9 +36,7 @@ export default {
|
|
|
return {
|
|
|
sheetDetail:'',
|
|
|
selectDate:'',
|
|
|
- tempDate:'',
|
|
|
selectedVariety:'',
|
|
|
- tempVariety:'',
|
|
|
classifyList:[]
|
|
|
};
|
|
|
},
|
|
@@ -57,16 +55,12 @@ export default {
|
|
|
TableDate: this.selectDate,
|
|
|
ClassifyId:this.selectedVariety
|
|
|
}).then(res=>{
|
|
|
- if(res.Ret!==200){
|
|
|
- this.selectDate=this.tempDate
|
|
|
- this.selectedVariety=this.tempVariety
|
|
|
- return
|
|
|
- }
|
|
|
+ if(res.Ret!==200) return
|
|
|
let tableInfo = res.Data||{};
|
|
|
- this.selectDate = tableInfo.ExcelDate
|
|
|
- this.tempDate = tableInfo.ExcelDate
|
|
|
- this.tempVariety = this.selectedVariety
|
|
|
this.sheetDetail = tableInfo.ExcelContent
|
|
|
+ if(this.sheetDetail){
|
|
|
+ this.selectDate = tableInfo.ExcelDate
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
// 对[#,;]转义
|