marymelisa 4 vuotta sitten
vanhempi
commit
21396ea916

+ 17 - 4
src/views/order/pre_sale_warehouse_receipt/components/pre_sale_warehouse_receipt_order_summary/components/listed/index.vue

@@ -90,9 +90,10 @@
                                     style="width: 140px !important"
                                 />
                                 <span class="input-enumdicname">{{selectedRow.enumdicname}}</span>
-                                <div
-                                    class="tip"
-                                >最小单位:{{selectedRow.minivalue}}{{selectedRow.enumdicname}}</div>
+                                <div class="tip">
+                                    <span>最小单位:</span>
+                                    <span>{{selectedRow.minivalue}}{{selectedRow.enumdicname}}</span>
+                                </div>
                             </a-form-item>
                         </a-col>
                     </a-row>
@@ -104,7 +105,7 @@
                                     ::min="0"
                                     :max="selectedRow.enableqty"
                                     class="formSlider"
-                                    style="width: 140px;"
+                                    style="width: 140px !important;"
                                 />
                                 <div class="unit">
                                     <span>0</span>
@@ -500,6 +501,18 @@ export default defineComponent({
 </script>
 
 <style lang="less" scoped>
+.inputIconBox .input-enumdicname {
+    right: 100px;
+}
+.ant-form.inlineForm .relative.ant-form-item .tip {
+    top: -5px;
+    left: calc(100% + 5px);
+    white-space: normal;
+    span {
+        display: block;
+        line-height: 15px;
+    }
+}
 .listed {
     width: 100%;
     height: 100%;

+ 17 - 4
src/views/order/spot_warran/components/spot_warrant_spot_details/components/listing/index.vue

@@ -90,9 +90,10 @@
                                     style="width: 140px !important"
                                 />
                                 <span class="input-enumdicname">{{selectedRow.enumdicname}}</span>
-                                <div
-                                    class="tip"
-                                >最小单位:{{selectedRow.minivalue}}{{selectedRow.enumdicname}}</div>
+                                <div class="tip">
+                                    <span>最小单位:</span>
+                                    <span>{{selectedRow.minivalue}}{{selectedRow.enumdicname}}</span>
+                                </div>
                             </a-form-item>
                         </a-col>
                     </a-row>
@@ -104,7 +105,7 @@
                                     ::min="0"
                                     :max="selectedRow.enableqty"
                                     class="formSlider"
-                                    style="width: 140px;"
+                                    style="width: 140px !important;"
                                 />
                                 <div class="unit">
                                     <span>0</span>
@@ -485,6 +486,18 @@ export default defineComponent({
 </script>
 
 <style lang="less" scoped>
+.inputIconBox .input-enumdicname {
+    right: 100px;
+}
+.ant-form.inlineForm .relative.ant-form-item .tip {
+    top: -5px;
+    left: calc(100% + 5px);
+    white-space: normal;
+    span {
+        display: block;
+        line-height: 15px;
+    }
+}
 .listing {
     width: 100%;
     height: 100%;