cz hace 1 año
padre
commit
38ce04b03f

+ 27 - 5
src/views/purchaseSales/outAndInWarehouse/manualWarehousing/index.vue

@@ -16,7 +16,7 @@
         <div style="width:55%;overflow:auto;height:calc(100vh - 220px)">
           <byForm :formConfig="formConfig" :formOption="formOption" v-model="formData.data" :rules="rules" ref="submit">
             <template #workOrderId>
-              <div style="width: 100%">
+              <div style="width: 100%;margin-bottom:65px">
                 <el-button type="primary" @click="openOrder = true">选择工单</el-button>
                 <div style="margin-top: 10px" v-if="selectOrder">
                   已选择: {{ selectOrder }}
@@ -41,7 +41,7 @@
             </template> -->
 
             <template #details>
-              <div style="width: 100%">
+              <div style="width: 100%;">
                 <el-button type="primary" @click="clickAdd()">添加明细</el-button>
                 <el-table :data="formData.data.list" show-summary :summary-method="getSummaries" style=" margin-top: 16px">
                   <el-table-column type="index" width="60" align="center" />
@@ -62,7 +62,7 @@
                   <!-- <el-table-column prop="productUnit" label="单位" width="80" :formatter="
                   (row) => dictValueLabel(row.productUnit, productUnit)
                 " /> -->
-                  <el-table-column label="入库数量" width="110" prop="quantity">
+                  <el-table-column label="入库数量" width="120" prop="quantity">
                     <template #default="{ row, $index }">
                       <div style="width: 100%">
                         <el-form-item :prop="'list.' + $index + '.quantity'" :rules="rules.quantity" :inline-message="true">
@@ -95,8 +95,11 @@
                 <el-input v-model="scanValue" type="password" :disabled="!isScan" ref="scanInput" @change="handleScanValueChange"
                           @blur="handleScanBlur" class="input" autocomplete="off" />
               </div>
-              <div style="font-weight:700;font-size:14px;margin-bottom:10px">
-                汇总明细:
+              <div style="font-size:14px;margin-bottom:10px">
+                <div class="title-info">
+                  <div class="vertical-bar"></div>
+                  <div class="content"> 汇总明细</div>
+                </div>
               </div>
               <div style="width: 100%;height:calc(100% - 240px);overflow:auto">
 
@@ -606,4 +609,23 @@ const getSummaries = (param) => {
 :deep(.el-card__body) {
   height: 100% !important;
 }
+.title-info {
+  width: 100%;
+  display: flex;
+  align-items: center;
+  // height: 24px;
+  // line-height: 24px;
+  .vertical-bar {
+    width: 4px;
+    height: 19px;
+    background-color: #0084ff;
+    margin-right: 9px;
+    // margin-top: 1px;
+  }
+  .content {
+    // font-size: 14px;
+    font-weight: 600;
+    color: #333333;
+  }
+}
 </style>