1.修复bug

fencang
x_z 3 years ago
parent d46cc1d8bf
commit 7a0c579c0c

@ -324,7 +324,6 @@ export default {
},
entrustSubInvChange() {
let query = {
code: this.inputQuery.entrustSubInv,
}
@ -358,6 +357,7 @@ export default {
this.getList();
this.getStorage();
// if (this.$isNotBlank(this.inputQuery.entrustInv)) {
// this.findEntrustSubInvByInv();
// }

@ -41,10 +41,9 @@
<el-table v-loading="loading" :data="list" style="width: 100%">
<el-table-column label="序号" type="index" width="55"></el-table-column>
<el-table-column label="单据类型名称" prop="name"></el-table-column>
<el-table-column label="单据类型代码" prop="action"></el-table-column>
<el-table-column label="第三方系统" prop="thirdSys"></el-table-column>
<el-table-column label="第三方系统" prop="thirdSysName"></el-table-column>
<el-table-column label="备注" prop="remark"></el-table-column>
<el-table-column label="操作" width="100" fixed="right">
<template slot-scope="scope">
@ -195,6 +194,15 @@ export default {
.then((response) => {
this.loading = false;
this.list = response.data.list || [];
if (this.list.length > 0) {
this.list.forEach(item => {
this.thirdSys.forEach(third => {
if (item.thirdSys === third.thirdId) {
item.thirdSysName = third.thirdName;
}
})
})
}
this.total = response.data.total || 0;
})
.catch(() => {

@ -48,7 +48,7 @@
<el-form-item>
<el-button-group>
<el-button type="primary" icon="search" @click="getCodeList"
<el-button type="primary" icon="search" @click="search"
>查询
</el-button
>
@ -180,7 +180,10 @@ export default {
this.query.page = val;
this.getCodeList();
},
search() {
this.query.page = 1;
this.getCodeList();
},
getCodeList() {
this.loading = true;
this.query.productIdFk = this.idQuery.relIdFk;

@ -143,6 +143,8 @@
:visible.sync="codeDetailVisible"
width="85%"
v-if="codeDetailVisible"
:close-on-click-modal="false"
:close-on-press-escape="false"
>
<codeDetail
:idQuery="idQuery"
@ -241,6 +243,7 @@ export default {
},
onSubmit() {
this.loading = true;
this.filterQuery.page = 1;
this.getList();
},
handleSizeChange(val) {

@ -82,7 +82,7 @@
<el-form-item>
<el-button-group>
<el-button type="primary" icon="search" @click="getCodeList"
<el-button type="primary" icon="search" @click="search"
>查询
</el-button
>
@ -220,7 +220,10 @@ export default {
this.query.page = val;
this.getCodeList();
},
search() {
this.query.page = 1;
this.getCodeList();
},
getCodeList() {
this.loading = true;
this.query.productIdFk = this.idQuery.relIdFk;

@ -121,6 +121,8 @@
:visible.sync="codeDetailVisible"
width="85%"
v-if="codeDetailVisible"
:close-on-click-modal="false"
:close-on-press-escape="false"
>
<codeDetail
:idQuery="idQuery"

@ -157,6 +157,7 @@ export default {
},
onSubmit() {
this.loading = true;
this.filterQuery.page = 1;
this.getList();
},
handleSizeChange(val) {

@ -208,7 +208,7 @@ export default {
registerNo: null,
manufactory: null,
name: "",
thirdSys: null,
thirdSys: this.thirdSys[0].thirdId,
page: 1,
limit: 20,
};

Loading…
Cancel
Save