marymelisa 4 år sedan
förälder
incheckning
af74a7977d

+ 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>