|
@@ -318,7 +318,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <el-input size="mini" slot="reference" placeholder="请输入内容"
|
|
|
+ <el-input size="mini" slot="reference"
|
|
|
v-model="scope.row[item.prop]">
|
|
|
</el-input>
|
|
|
</el-popover>
|
|
@@ -339,13 +339,13 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <el-input size="mini" slot="reference" placeholder="请输入内容"
|
|
|
+ <el-input size="mini" slot="reference"
|
|
|
v-model="scope.row[item.prop]">
|
|
|
</el-input>
|
|
|
</el-popover>
|
|
|
</div>
|
|
|
<span v-else :title="scope.row[item.prop]">
|
|
|
- <el-input size="mini" placeholder="请输入内容" v-model="scope.row[item.prop]">
|
|
|
+ <el-input size="mini" v-model="scope.row[item.prop]">
|
|
|
</el-input></span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -2881,39 +2881,39 @@ export default {
|
|
|
"date": dataStr,
|
|
|
"itin": "",
|
|
|
"carType": "",
|
|
|
- "carCost": 0,
|
|
|
- "carNumber": 0,
|
|
|
- "carTiming": 0,
|
|
|
- "tgs": 0,
|
|
|
- "tgwh": 0,
|
|
|
- "tgn": 0,
|
|
|
- "tgof": 0,
|
|
|
- "tgm": 0,
|
|
|
- "tga": 0,
|
|
|
- "tgtf": 0,
|
|
|
- "tgef": 0,
|
|
|
- "cfs": 0,
|
|
|
- "cfm": 0,
|
|
|
- "cfof": 0,
|
|
|
- "b": 0,
|
|
|
- "l": 0,
|
|
|
- "d": 0,
|
|
|
- "tbr": 0,
|
|
|
- "sgr": 0,
|
|
|
- "jS_ES": 0,
|
|
|
- "suite": 0,
|
|
|
+ "carCost": "",
|
|
|
+ "carNumber": "",
|
|
|
+ "carTiming": "",
|
|
|
+ "tgs": "",
|
|
|
+ "tgwh": "",
|
|
|
+ "tgn": "",
|
|
|
+ "tgof": "",
|
|
|
+ "tgm": "",
|
|
|
+ "tga": "",
|
|
|
+ "tgtf": "",
|
|
|
+ "tgef": "",
|
|
|
+ "cfs": "",
|
|
|
+ "cfm": "",
|
|
|
+ "cfof": "",
|
|
|
+ "b": "",
|
|
|
+ "l": "",
|
|
|
+ "d": "",
|
|
|
+ "tbr": "",
|
|
|
+ "sgr": "",
|
|
|
+ "jS_ES": "",
|
|
|
+ "suite": "",
|
|
|
"accon": "",
|
|
|
- "tv": 0,
|
|
|
- "iL": 0,
|
|
|
- "if": 0,
|
|
|
- "ef": 0,
|
|
|
- "b_R_F": 0,
|
|
|
- "te": 0,
|
|
|
- "tgTips": 0,
|
|
|
- "drvTips": 0,
|
|
|
- "pc": 0,
|
|
|
- "tlf": 0,
|
|
|
- "ect": 0,
|
|
|
+ "tv": "",
|
|
|
+ "iL": "",
|
|
|
+ "if": "",
|
|
|
+ "ef": "",
|
|
|
+ "b_R_F": "",
|
|
|
+ "te": "",
|
|
|
+ "tgTips": "",
|
|
|
+ "drvTips": "",
|
|
|
+ "pc": "",
|
|
|
+ "tlf": "",
|
|
|
+ "ect": "",
|
|
|
"id": 1,
|
|
|
}
|
|
|
)
|
|
@@ -2983,6 +2983,15 @@ export default {
|
|
|
|
|
|
if (resp.data.data.groupCost.length > 0) {
|
|
|
that.tableData = resp.data.data.groupCost;
|
|
|
+ console.log(that.tableData);
|
|
|
+ for(var i=0;i<that.tableData.length;i++){
|
|
|
+ for (var prop in that.tableData[i]) {
|
|
|
+ console.log(that.tableData[i][prop]);
|
|
|
+ if(that.tableData[i][prop]==0){
|
|
|
+ that.tableData[i][prop]=''
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
} else {
|
|
|
that.tableData = [
|
|
|
{
|
|
@@ -2991,39 +3000,39 @@ export default {
|
|
|
"date": "",
|
|
|
"itin": "",
|
|
|
"carType": "",
|
|
|
- "carCost": 0,
|
|
|
- "carNumber": 0,
|
|
|
- "carTiming": 0,
|
|
|
- "tgs": 0,
|
|
|
- "tgwh": 0,
|
|
|
- "tgn": 0,
|
|
|
- "tgof": 0,
|
|
|
- "tgm": 0,
|
|
|
- "tga": 0,
|
|
|
- "tgtf": 0,
|
|
|
- "tgef": 0,
|
|
|
- "cfs": 0,
|
|
|
- "cfm": 0,
|
|
|
- "cfof": 0,
|
|
|
- "b": 0,
|
|
|
- "l": 0,
|
|
|
- "d": 0,
|
|
|
- "tbr": 0,
|
|
|
- "sgr": 0,
|
|
|
- "jS_ES": 0,
|
|
|
- "suite": 0,
|
|
|
+ "carCost": "",
|
|
|
+ "carNumber": "",
|
|
|
+ "carTiming":"",
|
|
|
+ "tgs": "",
|
|
|
+ "tgwh": "",
|
|
|
+ "tgn": "",
|
|
|
+ "tgof": "",
|
|
|
+ "tgm": "",
|
|
|
+ "tga": "",
|
|
|
+ "tgtf": "",
|
|
|
+ "tgef": "",
|
|
|
+ "cfs": "",
|
|
|
+ "cfm": "",
|
|
|
+ "cfof": "",
|
|
|
+ "b": "",
|
|
|
+ "l": "",
|
|
|
+ "d": "",
|
|
|
+ "tbr": "",
|
|
|
+ "sgr": "",
|
|
|
+ "jS_ES": "",
|
|
|
+ "suite": "",
|
|
|
"accon": "",
|
|
|
- "tv": 0,
|
|
|
- "iL": 0,
|
|
|
- "if": 0,
|
|
|
- "ef": 0,
|
|
|
- "b_R_F": 0,
|
|
|
- "te": 0,
|
|
|
- "tgTips": 0,
|
|
|
- "drvTips": 0,
|
|
|
- "pc": 0,
|
|
|
- "tlf": 0,
|
|
|
- "ect": 0,
|
|
|
+ "tv": "",
|
|
|
+ "iL": "",
|
|
|
+ "if": "",
|
|
|
+ "ef": "",
|
|
|
+ "b_R_F":"",
|
|
|
+ "te": "",
|
|
|
+ "tgTips": "",
|
|
|
+ "drvTips": "",
|
|
|
+ "pc": "",
|
|
|
+ "tlf": "",
|
|
|
+ "ect": "",
|
|
|
"id": 1,
|
|
|
}
|
|
|
]
|
|
@@ -4896,39 +4905,39 @@ export default {
|
|
|
"date": "",
|
|
|
"itin": "",
|
|
|
"carType": "",
|
|
|
- "carCost": 0,
|
|
|
- "carNumber": 0,
|
|
|
- "carTiming": 0,
|
|
|
- "tgs": 0,
|
|
|
- "tgwh": 0,
|
|
|
- "tgn": 0,
|
|
|
- "tgof": 0,
|
|
|
- "tgm": 0,
|
|
|
- "tga": 0,
|
|
|
- "tgtf": 0,
|
|
|
- "tgef": 0,
|
|
|
- "cfs": 0,
|
|
|
- "cfm": 0,
|
|
|
- "cfof": 0,
|
|
|
- "b": 0,
|
|
|
- "l": 0,
|
|
|
- "d": 0,
|
|
|
- "tbr": 0,
|
|
|
- "sgr": 0,
|
|
|
- "jS_ES": 0,
|
|
|
- "suite": 0,
|
|
|
+ "carCost": "",
|
|
|
+ "carNumber": "",
|
|
|
+ "carTiming": "",
|
|
|
+ "tgs": "",
|
|
|
+ "tgwh": "",
|
|
|
+ "tgn": "",
|
|
|
+ "tgof": "",
|
|
|
+ "tgm": "",
|
|
|
+ "tga": "",
|
|
|
+ "tgtf": "",
|
|
|
+ "tgef": "",
|
|
|
+ "cfs": "",
|
|
|
+ "cfm": "",
|
|
|
+ "cfof": "",
|
|
|
+ "b": "",
|
|
|
+ "l": "",
|
|
|
+ "d": "",
|
|
|
+ "tbr": "",
|
|
|
+ "sgr": "",
|
|
|
+ "jS_ES": "",
|
|
|
+ "suite": "",
|
|
|
"accon": "",
|
|
|
- "tv": 0,
|
|
|
- "iL": 0,
|
|
|
- "if": 0,
|
|
|
- "ef": 0,
|
|
|
- "b_R_F": 0,
|
|
|
- "te": 0,
|
|
|
- "tgTips": 0,
|
|
|
- "drvTips": 0,
|
|
|
- "pc": 0,
|
|
|
- "tlf": 0,
|
|
|
- "ect": 0,
|
|
|
+ "tv": "",
|
|
|
+ "iL": "",
|
|
|
+ "if": "",
|
|
|
+ "ef": "",
|
|
|
+ "b_R_F": "",
|
|
|
+ "te": "",
|
|
|
+ "tgTips": "",
|
|
|
+ "drvTips": "",
|
|
|
+ "pc": "",
|
|
|
+ "tlf": "",
|
|
|
+ "ect": "",
|
|
|
"id": 1,
|
|
|
};
|
|
|
|