marymelisa 4 éve
szülő
commit
95b9398de6

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

@@ -418,6 +418,10 @@
     }
     .relative.ant-form-item {
         position: relative;
+        // .itemTip {
+        //     position: absolute;
+        //     color: @m-grey1;
+        // }
         .tip {
             position: absolute;
             font-size: 14px;

+ 9 - 7
src/views/business/purchase/components/funds/index.vue

@@ -1,13 +1,13 @@
 <template>
     <!-- 款项登记-->
-    <a-modal class="custom-detail add-custom "
+    <a-modal class="commonModal paddingDialog funds"
              :title="selectedRow.contracttype===1? '采购合同-款项登记': '销售合同-款项登记'"
              v-model:visible="visible"
              @cancel="cancel"
              width="890px">
         <template #footer>
             <a-button key="submit"
-                      type="primary"
+                      class="cancelBtn"
                       @click="cancel">取消
             </a-button>
             <a-button key="submit"
@@ -91,7 +91,7 @@
                 <a-row :gutter="24">
                     <a-col :span="12">
                         <a-form-item label="点价价格"  name="PricedPrice">
-                            <a-input-number id="dialogInput"  style="width: 200px" v-model:value="formState.PricedPrice" :min="0" placeholder="请输入点价价格"/>
+                            <a-input-number class="dialogInput"  style="width: 200px" v-model:value="formState.PricedPrice" :min="0" placeholder="请输入点价价格"/>
                         </a-form-item>
                     </a-col>
                     <a-col :span="12">
@@ -108,10 +108,12 @@
                         </a-form-item>
                     </a-col>
                     <a-col :span="12">
-                        <a-form-item label="点价数量" name="PricedQty">
-                            <a-input-number id="dialogInput"  style="width: 200px" v-model:value="formState.PricedQty" :min="0" :max="selectedRow.unpricedqty" placeholder="请输入点价数量"/>
-                            <span class="white">未定价量{{selectedRow.unpricedqty}}{{selectedRow.enumdicname}} </span>
-                            <span class="white" @click="formState.PricedQty = selectedRow.unpricedqty"> 全部登记</span>
+                        <a-form-item label="点价数量" name="PricedQty" class="relative">
+                            <a-input-number class="dialogInput"  style="width: 200px" v-model:value="formState.PricedQty" :min="0" :max="selectedRow.unpricedqty" placeholder="请输入点价数量"/>
+                            <div class="tip">
+                                <span>未定价量<span class="white">{{selectedRow.unpricedqty}}{{selectedRow.enumdicname}} </span></span>
+                                <a class="blue ml10" @click="formState.PricedQty = selectedRow.unpricedqty"> 全部登记</a>
+                            </div>
                         </a-form-item>
                     </a-col>
                 </a-row>

+ 9 - 7
src/views/business/purchase/components/invoice/index.vue

@@ -1,13 +1,13 @@
 <template>
     <!-- 发票登记-->
-    <a-modal class="custom-detail add-custom "
+    <a-modal class="commonModal paddingDialog invoice"
              :title="selectedRow.contracttype===1? '采购合同-发票登记': '销售合同-发票登记'"
              v-model:visible="visible"
              @cancel="cancel"
              width="890px">
         <template #footer>
             <a-button key="submit"
-                      type="primary"
+                      class="cancelBtn"
                       @click="cancel">取消
             </a-button>
             <a-button key="submit"
@@ -91,7 +91,7 @@
                 <a-row :gutter="24">
                     <a-col :span="12">
                         <a-form-item label="点价价格"  name="PricedPrice">
-                            <a-input-number id="dialogInput"  style="width: 200px" v-model:value="formState.PricedPrice" :min="0" placeholder="请输入点价价格"/>
+                            <a-input-number class="dialogInput"  style="width: 200px" v-model:value="formState.PricedPrice" :min="0" placeholder="请输入点价价格"/>
                         </a-form-item>
                     </a-col>
                     <a-col :span="12">
@@ -108,10 +108,12 @@
                         </a-form-item>
                     </a-col>
                     <a-col :span="12">
-                        <a-form-item label="点价数量" name="PricedQty">
-                            <a-input-number id="dialogInput"  style="width: 200px" v-model:value="formState.PricedQty" :min="0" :max="selectedRow.unpricedqty" placeholder="请输入点价数量"/>
-                            <span class="white">未定价量{{selectedRow.unpricedqty}}{{selectedRow.enumdicname}} </span>
-                            <span class="white" @click="formState.PricedQty = selectedRow.unpricedqty"> 全部登记</span>
+                        <a-form-item label="点价数量" name="PricedQty" class="relative">
+                            <a-input-number class="dialogInput"  style="width: 200px" v-model:value="formState.PricedQty" :min="0" :max="selectedRow.unpricedqty" placeholder="请输入点价数量"/>
+                            <div class="tip">
+                                <span>未定价量<span class="white">{{selectedRow.unpricedqty}}{{selectedRow.enumdicname}} </span></span>
+                                <a class="blue ml10" @click="formState.PricedQty = selectedRow.unpricedqty"> 全部登记</a>
+                            </div>
                         </a-form-item>
                     </a-col>
                 </a-row>

+ 9 - 7
src/views/business/purchase/components/settlement/index.vue

@@ -1,13 +1,13 @@
 <template>
     <!-- 交收登记-->
-    <a-modal class="custom-detail add-custom "
+    <a-modal class="commonModal paddingDialog settlement"
              :title="selectedRow.contracttype===1? '采购合同-交收登记': '销售合同-交收登记'"
              v-model:visible="visible"
              @cancel="cancel"
              width="890px">
         <template #footer>
             <a-button key="submit"
-                      type="primary"
+                      class="cancelBtn"
                       @click="cancel">取消
             </a-button>
             <a-button key="submit"
@@ -91,7 +91,7 @@
                 <a-row :gutter="24">
                     <a-col :span="12">
                         <a-form-item label="点价价格"  name="PricedPrice">
-                            <a-input-number id="dialogInput"  style="width: 200px" v-model:value="formState.PricedPrice" :min="0" placeholder="请输入点价价格"/>
+                            <a-input-number class="dialogInput"  style="width: 200px" v-model:value="formState.PricedPrice" :min="0" placeholder="请输入点价价格"/>
                         </a-form-item>
                     </a-col>
                     <a-col :span="12">
@@ -108,10 +108,12 @@
                         </a-form-item>
                     </a-col>
                     <a-col :span="12">
-                        <a-form-item label="点价数量" name="PricedQty">
-                            <a-input-number id="dialogInput"  style="width: 200px" v-model:value="formState.PricedQty" :min="0" :max="selectedRow.unpricedqty" placeholder="请输入点价数量"/>
-                            <span class="white">未定价量{{selectedRow.unpricedqty}}{{selectedRow.enumdicname}} </span>
-                            <span class="white" @click="formState.PricedQty = selectedRow.unpricedqty"> 全部登记</span>
+                        <a-form-item label="点价数量" class="relative" name="PricedQty">
+                            <a-input-number class="dialogInput"  style="width: 200px" v-model:value="formState.PricedQty" :min="0" :max="selectedRow.unpricedqty" placeholder="请输入点价数量"/>
+                            <div class="tip">
+                                <span>未定价量<span class="white">{{selectedRow.unpricedqty}}{{selectedRow.enumdicname}} </span></span>
+                                <a class="blue ml10" @click="formState.PricedQty = selectedRow.unpricedqty"> 全部登记</a>
+                            </div>
                         </a-form-item>
                     </a-col>
                 </a-row>

+ 1 - 5
src/views/business/purchase/components/someprice/index.vue

@@ -122,7 +122,7 @@
                               :min="0"
                               :max="selectedRow.unpricedqty"
                               placeholder="请输入点价数量" />
-              <div class="itemTip">
+              <div class="tip">
                   <span>未定价量<span class="white">{{selectedRow.unpricedqty}}{{selectedRow.enumdicname}}</span> </span>
                   <a class="blue ml10" @click="formState.PricedQty = selectedRow.unpricedqty"> 全部登记</a>
               </div>
@@ -238,10 +238,6 @@ export default defineComponent({
             padding: 24px;
         }
     }
-    .itemTip {
-        position: absolute;
-        color: @m-grey1;
-    }
     legend {
         width: auto;
         margin-left: 20px;

+ 1 - 1
src/views/business/purchase/components/storage/index.vue

@@ -1,6 +1,6 @@
 <template>
   <!-- 入库登记-->
-  <a-modal class="custom-detail"
+  <a-modal class="commonModal"
            title="入库登记"
            v-model:visible="visible"
            @cancel="cancel"