Browse Source

fix: 样式调整

Howie 1 năm trước cách đây
mục cha
commit
854eb20819
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/commercialEngineering/components/base.vue

+ 2 - 2
src/views/commercialEngineering/components/base.vue

@@ -89,7 +89,7 @@
           </div>
         </el-col>
         <el-col
-          v-if="['frock', 'cross'].includes(pageType) && formData.orderType === 'WORK'"
+          v-if=" pageType === 'frock' || ( pageType ==='cross' && formData.orderType === 'WORK' ) "
           :xs="24"
           :sm="module === 'detail' ? 24 : 12"
           :lg="module === 'detail' ? 24 : 12"
@@ -107,7 +107,7 @@
             </el-select>
           </div>
         </el-col>
-        <el-col   v-if="['home'].includes(pageType)" :xs="24" :sm="12" :lg="12" class="item">
+        <el-col v-if=" module === 'add' && (['home'].includes(pageType) || formData.orderType !== 'WORK')" :xs="24" :sm="12" :lg="12" class="item">
           <div class="label" />
           <div class="value" />
         </el-col>