fix:导入物料检验的excel表
This commit is contained in:
parent
2f9b24245f
commit
690b322d8d
|
|
@ -74,6 +74,7 @@
|
|||
:params="params"
|
||||
hidePagination
|
||||
hideDo
|
||||
@row-click="rowClick"
|
||||
>
|
||||
<el-table-column type="index" width="50" />
|
||||
<el-table-column
|
||||
|
|
@ -485,13 +486,18 @@ export default {
|
|||
that.wprList = row.mioitemw;
|
||||
that.wprVisibleDrawer = true;
|
||||
},
|
||||
rowClick(row){
|
||||
this.mioitemId = row.id;
|
||||
},
|
||||
upSuccess(res, close) {
|
||||
let that = this;
|
||||
close();
|
||||
const loading = ElLoading.service({
|
||||
fullscreen: true,
|
||||
text: "解析中...请稍等",
|
||||
});
|
||||
this.$API.mtm.material.daoru.req({ path: res.path }).then((res) => {
|
||||
console.log(res);
|
||||
this.$API.inm.mioitem.test_daoru.req(that.mioitemId,{ path: res.path }).then((res) => {
|
||||
loading.close();
|
||||
this.$message.success("导入成功");
|
||||
this.$refs.table.queryData(this.query);
|
||||
|
|
|
|||
Loading…
Reference in New Issue