浏览代码

Merge branch 'master' of http://139.196.39.194:9021/chenc/sen-yu-new-web

huxy 1 年之前
父节点
当前提交
088d5e2675
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/reportForms/cost-allocation-table/tabs.vue
  2. 1 1
      src/views/shipment-details/shipmentList.vue

+ 1 - 1
src/views/reportForms/cost-allocation-table/tabs.vue

@@ -697,7 +697,7 @@ export default {
            
             record.syTransfers.map(item=>{
               if(item.unitCost){
-                 item.unitCost =  Number(item.unitCost).toFixed(3)
+                 item.unitCost =  Number(item.unitCost).toFixed(2)
               }
             })
             this.$refs.fabInQuaModal.data = record.syTransfers

+ 1 - 1
src/views/shipment-details/shipmentList.vue

@@ -892,7 +892,7 @@ export default {
       if(yesA == 'yes'){
         this.loading = true
         exportXls(obj).then(res =>{
-        if(!res){
+        if(!res.success){
           this.loading = false
           this.$message.error(res.message)
         }else{