瀏覽代碼

提交单票分析

caojunjie 4 年之前
父節點
當前提交
a1fd6daff0
共有 1 個文件被更改,包括 20 次插入0 次删除
  1. 20 0
      src/views/reportManagement/singleTicket/index.vue

+ 20 - 0
src/views/reportManagement/singleTicket/index.vue

@@ -182,6 +182,26 @@ export default {
       listpayable(this.query).then(res=>{
         this.costData = res.data.feeList
         this.tableData = res.data.singleAnalysis
+        for (let item in this.tableData){
+          if (this.tableData[item].inQty == 0){
+            this.tableData[item].inQty = ''
+          }
+          if (this.tableData[item].inGrossweight == 0){
+            this.tableData[item].inGrossweight = ''
+          }
+          if (this.tableData[item].outGrossweight == 0){
+            this.tableData[item].outGrossweight = ''
+          }
+          if (this.tableData[item].fQtyblc == 0){
+            this.tableData[item].fQtyblc = ''
+          }
+          if (this.tableData[item].fGrossweightblc == 0){
+            this.tableData[item].fGrossweightblc = ''
+          }
+          if (this.tableData[item].outQty == 0){
+            this.tableData[item].outQty = ''
+          }
+        }
         this.formInline.goodsName = res.data.goodsName
       })
     },