Commit 44ec440d by gyt

feat(consignmentRecall): 导入地址修改

parent ce3d8a82
......@@ -27,7 +27,7 @@
<div class="operation-button row verCenter">
<el-button type="primary" @click="$router.push('/createConsignmentRecallOrder')">生成寄售召回单</el-button>
<el-button type="danger" @click="popupEvent(2)">作废</el-button>
<el-upload action="/api/consignmentRecall/batchRecallUpload" :on-success="handleUploadSuccess" :on-error="handleUploadError" :before-upload="handleBeforeUpload" accept=".xlsx,.xls" :show-file-list="false" name="file" style="display: inline-block; margin-left: 10px;">
<el-upload :action="batchRecallUpload" :on-success="handleUploadSuccess" :on-error="handleUploadError" :before-upload="handleBeforeUpload" accept=".xlsx,.xls" :show-file-list="false" name="file" style="display: inline-block; margin-left: 10px;">
<el-button type="primary" :loading="uploadLoading">导入</el-button>
</el-upload>
<a href="http://cloud.liexindev.net/template/批量召回模板.xlsx" download style="text-decoration: none; margin-left: 10px;">
......@@ -109,6 +109,7 @@
import Menu from "@/components/menu.vue";
import { Autocomplete, Button, Cascader, DatePicker, Descriptions, DescriptionsItem, Dialog, Divider, Dropdown, DropdownItem, DropdownMenu, Form, FormItem, Input, Link, Message, MessageBox, Option, Pagination, Popover, Select, Table, TableColumn, Tag, Tooltip, Upload } from 'element-ui'
import { pcaTextArr } from 'element-china-area-data'
import { NODE_ENVS } from "@/ajax/index"
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm;
......@@ -118,6 +119,7 @@
name: "consignmentRecall",
data() {
return {
batchRecallUpload: NODE_ENVS + '/api/consignmentRecall/batchRecallUpload',
options: pcaTextArr,
selectedOptions: ['广东省', '深圳市', '龙岗区'],
multipleSelection: [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment