Преглед на файлове

Merge branch 'master' of http://47.101.159.18:3000/Muchinfo/MTP2.0_WEB

huangbin преди 4 години
родител
ревизия
08a3be0ee2
променени са 2 файла, в които са добавени 12 реда и са изтрити 2 реда
  1. 8 0
      src/assets/styles/mixin.less
  2. 4 2
      src/views/information/goods/components/hedgingModify/index.vue

+ 8 - 0
src/assets/styles/mixin.less

@@ -545,6 +545,14 @@
                 float: right;
                 color: @m-grey2;
             }
+            .backUnit {
+                position: absolute;
+                right: -20px;
+                top: -7px;
+                line-height: 32px;
+                height: 32px;
+                color: @m-grey2;
+            }
         }
     }
     .tc.ant-form-item {

+ 4 - 2
src/views/information/goods/components/hedgingModify/index.vue

@@ -40,12 +40,14 @@
             </a-col>
             <a-col :span="12">
               <a-form-item label="修改后套保比例"
-                           name="needhedgeratio">
+                           name="needhedgeratio"
+                           class="relative">
                 <a-input-number class="dialogInput"
                                 style="width: 200px"
                                 type="number"
                                 placeholder="请输入套保比例"
-                                v-model:value="formState.needhedgeratio" />%
+                                v-model:value="formState.needhedgeratio" />
+                                <div class="backUnit">%</div>
               </a-form-item>
             </a-col>
           </a-row>