|
@@ -106,7 +106,7 @@ import XLSX from "xlsx";
|
|
|
async loadData() {
|
|
|
this.formCondition['pageNo'] = this.current;
|
|
|
const response = await this.$http.post('noCarService/monthAccQuery', this.formCondition);
|
|
|
- debugger;
|
|
|
+
|
|
|
if (response.data.code === 0) {
|
|
|
this.invoiceTable = response.data.data.result;
|
|
|
this.total = response.data.data.totalCount;
|
|
@@ -120,7 +120,7 @@ import XLSX from "xlsx";
|
|
|
async updateData() {
|
|
|
this.formCondition['pageNo'] = 1;
|
|
|
const response = await this.$http.post('noCarService/monthAccUpdate', this.formCondition);
|
|
|
- debugger;
|
|
|
+
|
|
|
if (response.data.code === 0) {
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
@@ -147,7 +147,7 @@ import XLSX from "xlsx";
|
|
|
formartNum(wb){
|
|
|
var sheet = wb['Sheets']['Sheet1'];
|
|
|
var replaceTemp = [];
|
|
|
- debugger;
|
|
|
+
|
|
|
for(var i in sheet){
|
|
|
if(sheet[i]['v'] == '金额'){
|
|
|
replaceTemp.push(i.replace(/[0-9]/g,''));
|