瀏覽代碼

导入开单

shish 1 年之前
父節點
當前提交
b283a7e0c9
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ghs/src/views/order/add.vue

+ 2 - 2
ghs/src/views/order/add.vue

@@ -34,7 +34,7 @@
 			<template #slot-column-option="{scope}">
 
 				<el-upload class="upload-demo" style="display: inline-block;margin-right:30px;" :action="`${fileUrl}?id=${scope.row.id}`" :headers="{ token: token }" multiple :show-file-list="false" :on-success="fileUpSuccess" accept=".xls,.xlsx" :limit="1">
-  					<el-button size="small" type="primary">批量导入</el-button>
+  					<el-button size="small" type="primary">导入开单</el-button>
 				</el-upload>
 
 				<el-button size="small" type="primary" @click="kd(scope.row,1)">开预订单</el-button>
@@ -91,7 +91,7 @@ export default {
 		...mapGetters(['token'])
 	},
 	created() {
-		this.fileUrl = baseUrl+'/upload/excel'
+		this.fileUrl = baseUrl+'/upload/import-kd'
 		this.getLevel();
 	},
 	mounted() {