Browse Source

预装箱单装箱单新增按钮位置调整

jbb 2 years ago
parent
commit
cfa89ac4dc

+ 2 - 11
src/views/advance-packingList/adPaList-clothes.vue

@@ -87,20 +87,11 @@
     <!-- 操作按钮区域 导出 导入 新增-->
     <a-card :bordered="false" style="margin:10px 0">
       <div class="table-operator">
+        <a-button type="primary" @click="addAdpacking" icon="plus">新增</a-button>
         <a-button type="primary" icon="download" @click="handleExportXls('预装箱单-成衣')">导出</a-button>
-
-        <a-upload
-          productName="file"
-          :showUploadList="false"
-          :multiple="false"
-          :headers="tokenHeader"
-          :action="importExcelUrl"
-          @change="handleImportExcel"
-        >
+        <a-upload productName="file" :showUploadList="false"  :multiple="false"  :headers="tokenHeader"  :action="importExcelUrl"   @change="handleImportExcel">
           <a-button type="primary" icon="import">导入</a-button>
         </a-upload>
-
-        <a-button type="primary" @click="addAdpacking" icon="plus">新增</a-button>
         <a-button type="primary" @click="batchSubmit" icon="plus">批量提交</a-button>
         <a-button type="primary" @click="batchPush" icon="plus">批量推送</a-button>
       </div>

+ 2 - 9
src/views/packing-list/clothes-list.vue

@@ -87,18 +87,11 @@
     <!-- 操作按钮区域 推送 导入 新增-->
     <a-card :bordered="false" style="marginTop:10px;">
       <div class="table-operator">
+        <a-button type="primary" @click="openClothesAdd" icon="plus">新增</a-button>
         <a-button type="primary" @click="push" icon="export">推送</a-button>
-        <a-upload
-          name="file"
-          :showUploadList="false"
-          :multiple="false"
-          :headers="tokenHeader"
-          :action="importExcelUrl"
-          @change="handleImportExcel"
-        >
+        <a-upload  name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl"  @change="handleImportExcel" >
           <a-button type="primary" icon="import">导入</a-button>
         </a-upload>
-        <a-button type="primary" @click="openClothesAdd" icon="plus">新增</a-button>
       </div>
 
       <!-- table  rowKey="id"-->

+ 1 - 1
src/views/packing-list/fabric-list.vue

@@ -49,8 +49,8 @@
     <!-- 操作按钮区域 推送 新增-->
     <a-card :bordered="false" style="marginTop:10px;">
       <div class="table-operator">
-        <a-button type="primary" @click="push" icon="export">推送</a-button>
         <a-button type="primary" @click="addFabric" icon="plus">新增</a-button>
+        <a-button type="primary" @click="push" icon="export">推送</a-button>
       </div>
 
       <!-- 子表  :scroll="{ x: 1500 }" 内容少 无需滚动-->