|
|
@@ -138,29 +138,31 @@
|
|
|
</el-col>
|
|
|
<el-col v-bind="styleResponsive ? { lg: 24, md: 24 } : { span: 24 }">
|
|
|
<el-form-item label-width="0px">
|
|
|
- <el-button @click="goProduct">转生产计划</el-button>
|
|
|
- <el-button type="primary" @click="orderRefresh">订单刷新</el-button>
|
|
|
- <el-button type="success" @click="toCreate">创建订单</el-button>
|
|
|
- <el-upload
|
|
|
- class="avatar-uploader"
|
|
|
- action="#"
|
|
|
- :show-file-list="false"
|
|
|
- :http-request="uploadFile"
|
|
|
- :before-upload="beforeUpload"
|
|
|
- :on-change="handleChange"
|
|
|
- ref="uploadFile"
|
|
|
- >
|
|
|
- <el-button type="warning">批量导入</el-button>
|
|
|
- </el-upload>
|
|
|
- <el-button type="info">
|
|
|
- <a
|
|
|
- :href="fileUrl"
|
|
|
- download="销售订单导入模板.xls"
|
|
|
- class="button-link"
|
|
|
- >下载模板</a
|
|
|
+ <div class="btn-wrapper">
|
|
|
+ <el-button @click="goProduct">转生产计划</el-button>
|
|
|
+ <el-button type="primary" @click="orderRefresh">订单刷新</el-button>
|
|
|
+ <el-button type="success" @click="toCreate">创建订单</el-button>
|
|
|
+ <el-upload
|
|
|
+ class="avatar-uploader"
|
|
|
+ action="#"
|
|
|
+ :show-file-list="false"
|
|
|
+ :http-request="uploadFile"
|
|
|
+ :before-upload="beforeUpload"
|
|
|
+ :on-change="handleChange"
|
|
|
+ ref="uploadFile"
|
|
|
>
|
|
|
- </el-button>
|
|
|
- <el-button type="danger" @click="batchDelete">批量删除</el-button>
|
|
|
+ <el-button type="warning">批量导入</el-button>
|
|
|
+ </el-upload>
|
|
|
+ <el-button type="info">
|
|
|
+ <a
|
|
|
+ :href="fileUrl"
|
|
|
+ download="销售订单导入模板.xls"
|
|
|
+ class="button-link"
|
|
|
+ >下载模板</a
|
|
|
+ >
|
|
|
+ </el-button>
|
|
|
+ <el-button type="danger" @click="batchDelete">批量删除</el-button>
|
|
|
+ </div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
@@ -373,6 +375,13 @@
|
|
|
align-items: center;
|
|
|
justify-content: flex-end;
|
|
|
}
|
|
|
+
|
|
|
+ .btn-wrapper {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: flex-start;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ }
|
|
|
.avatar-uploader {
|
|
|
display: inline-block;
|
|
|
margin: 0 10px;
|