2 コミット 1284c13675 ... bb51ee33a6

作者 SHA1 メッセージ 日付
  dongfeng bb51ee33a6 Merge remote-tracking branch 'origin/qirui-v2' into qirui-v2 10 ヶ月 前
  dongfeng 9c02c3154d 零部件DVP计划编辑弹窗UI布局调整 10 ヶ月 前
1 ファイル変更32 行追加28 行削除
  1. 32 28
      src/views/componentsDVP/dvpPlan/editModal/editTableRow.vue

+ 32 - 28
src/views/componentsDVP/dvpPlan/editModal/editTableRow.vue

@@ -149,34 +149,38 @@
         </a-col>
         <!--上传材料清单 -->
         <a-col :lg="16" :md="24" :sm="24" :xl="12" :xs="24">
-          <a-form-item :label="$t('plan.dvp.upload-material-list')">
-            <a-upload-dragger
-              name="file"
-              :multiple="false"
-              action=""
-              :customRequest='editUploadFile'
-              :file-list="fileList"
-              :remove='editRemoveFile'
-            >
-              <p class="ant-upload-drag-icon">
-                <a-icon type="inbox"/>
-              </p>
-              <p class="ant-upload-text">
-                {{ $t('dvp.full.vehicle.dvp.click-drag-file-area') }}
-              </p>
-              <p class="ant-upload-hint">
-                {{ $t('dvp.full.vehicle.dvp.only-support-single-upload') }}
-              </p>
-            </a-upload-dragger>
-          </a-form-item>
-        </a-col>
-        <!--已上传的材料清单-->
-        <a-col v-if="isUpload" :lg="16" :md="24" :sm="24" :xl="12" :xs="24">
-          <a-form-item :label="$t('plan.dvp.uploaded-material-list')">
-            <a :href="$api.baseUrl + '/DFMEA/file/downloadFile.do?id=' + editParam.materialInventoryId + '&fileType=18'">
-              {{ editParam.materialInventoryName }}
-            </a>
-          </a-form-item>
+          <a-row>
+            <a-form-item :label="$t('plan.dvp.upload-material-list')">
+              <a-upload-dragger
+                  name="file"
+                  :multiple="false"
+                  action=""
+                  :customRequest='editUploadFile'
+                  :file-list="fileList"
+                  :remove='editRemoveFile'
+              >
+                <p class="ant-upload-drag-icon">
+                  <a-icon type="inbox"/>
+                </p>
+                <p class="ant-upload-text">
+                  {{ $t('dvp.full.vehicle.dvp.click-drag-file-area') }}
+                </p>
+                <p class="ant-upload-hint">
+                  {{ $t('dvp.full.vehicle.dvp.only-support-single-upload') }}
+                </p>
+              </a-upload-dragger>
+            </a-form-item>
+          </a-row>
+          <a-row>
+            <!--已上传的材料清单-->
+            <a-col v-if="isUpload">
+              <a-form-item :label="$t('plan.dvp.uploaded-material-list')">
+                <a :href="$api.baseUrl + '/DFMEA/file/downloadFile.do?id=' + editParam.materialInventoryId + '&fileType=18'">
+                  {{ editParam.materialInventoryName }}
+                </a>
+              </a-form-item>
+            </a-col>
+          </a-row>
         </a-col>
       </a-row>
     </a-form>