瀏覽代碼

成本部分调整

123456 1 年之前
父節點
當前提交
9e5d287fd0
共有 1 個文件被更改,包括 14 次插入3 次删除
  1. 14 3
      src/components/Finance/Cost.vue

+ 14 - 3
src/components/Finance/Cost.vue

@@ -567,9 +567,10 @@
                                                         <span v-if="itemcabinone.tips">
                                                             <el-popover placement="top-start"
                                                                 :title="itemcabinone.title" width="200" trigger="hover">
-                                                                <span style="color:green">{{ itemcabinone.tips
-                                                                    }}</span>
-                                                                元/人
+                                                                <span v-if="itemcabinone.tips != '暂无!'"
+                                                                    style="color:green">{{ itemcabinone.tips
+                                                                    }}元/人</span>
+                                                                <span v-else style="color: red">暂无!</span>
                                                                 <span slot="reference">{{ scope.row[itemcabinone.prop]
                                                                     }}</span>
                                                             </el-popover>
@@ -3053,6 +3054,16 @@ export default {
                                 that.sheetDatal[m].childList[0].tips = "暂无!";
                             }
                         }
+
+                        for (var i = 0; i < that.cabinDatal.length; i++) {
+                            if (that.cabinDatal[i].label.indexOf('经济舱') != -1) {
+                                that.cabinDatal[i].childList[3].tips = '暂无!'
+                            }
+                            if (that.cabinDatal[i].label.indexOf('公务舱') != -1) {
+                                that.cabinDatal[i].childList[3].tips = '暂无!'
+                            }
+                        }
+
                         that.ShowBaoPi = [];
                     }