修改导出Excel的路径
This commit is contained in:
@@ -78,7 +78,7 @@ export function orderData(params) {
|
||||
|
||||
export function exportExcel(params) {
|
||||
return request({
|
||||
baseURL: '/api',
|
||||
// baseURL: '/api',
|
||||
url: '/oms/OmsOrder/exportExcel',
|
||||
method: 'post',
|
||||
responseType: 'blob', // 表明返回服务器返回的数据类型
|
||||
|
||||
@@ -85,7 +85,7 @@ export function orderData(params) {
|
||||
|
||||
export function exportExcel(params) {
|
||||
return request({
|
||||
baseURL: '/api',
|
||||
// baseURL: '/api',
|
||||
url: '/oms/OmsOrder/exportExcel2',
|
||||
method: 'post',
|
||||
responseType: 'blob', // 表明返回服务器返回的数据类型
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
<el-button style="margin-top: -5px;" type="primary" class="btn-add" @click="doExport()" size="small">
|
||||
导出Excel
|
||||
</el-button>
|
||||
<el-button v-show="status==0||status==2" style="margin-top: -5px;" type="primary" class="btn-add"
|
||||
<el-button v-show="status==2" style="margin-top: -5px;" type="primary" class="btn-add"
|
||||
@click="doBatch()" size="small">
|
||||
批量发货
|
||||
</el-button>
|
||||
|
||||
Reference in New Issue
Block a user