Browse Source

出运明细节点维护款号成分按钮移动位置

jbb 2 năm trước cách đây
mục cha
commit
729e86b87f
1 tập tin đã thay đổi với 5 bổ sung8 xóa
  1. 5 8
      src/views/shipment-details/shipmentList.vue

+ 5 - 8
src/views/shipment-details/shipmentList.vue

@@ -165,10 +165,11 @@
 
         <!-- 操作 默认按钮  未提交未推送-->
         <span slot="operationSlot" slot-scope="text, record">
-          <a href="javascript:void(0);" @click="declareElements(record)" style="color:green">报关要素</a>
-
+           <a href="javascript:void(0);" @click="declareElements(record)" style="color:green">报关要素</a>
+           <a-divider type="vertical" />
+          <a href="javascript:void(0);" @click="itemNumberElement(record)" style="color:green">维护款号成分</a>
+          
           <a-divider type="vertical" />
-
           <a-dropdown>
             <a class="ant-dropdown-link">更多<a-icon type="down"/></a>
             <!-- 已保存 -->
@@ -181,10 +182,6 @@
                 <a @click="edit(record)">编辑</a>
               </a-menu-item>
 
-              <a-menu-item>
-                <a href="javascript:void(0);" @click="itemNumberElement(record)">维护款号成分</a>
-              </a-menu-item>
-
               <!-- <a-menu-item>
                 <a-popconfirm title="确定提交吗?" ok-text="是" cancel-text="否" @confirm="submit(record)">
                   <a href="javascript:void(0);" style="color:green;">提交</a>
@@ -564,7 +561,7 @@ export default {
           dataIndex: 'operation',
           scopedSlots: { customRender: 'operationSlot' },
           fixed: 'right',
-          width: 160,
+          width: 250,
           className: 'replacecolor'
         }
       ],