1.修复bug

fencang
x_z 3 years ago
parent 3fdba1b862
commit e2ea62f5a7

@ -421,7 +421,6 @@ export default {
this.thirdIdColumn = false;
getBasicUnitMaintains(this.query)
.then((response) => {
console.log(response)
this.loading = false;
this.erpIdColumn = response.data.BUMErpIdValue == "1" ? true : false;
this.thirdIdColumn = response.data.BUMThirdIdValue == "1" ? true : false;
@ -460,7 +459,9 @@ export default {
this.formName = "update";
this.spellUpdate = true;
this.editQuery = row;
if (this.editQuery.creditNo === null) {
this.editQuery.creditNo = "";
}
} else {
this.editQuery =
{
@ -506,7 +507,6 @@ export default {
this.editQuery.thirdName4 = null;
let data = Object.assign({}, this.editQuery);
console.log('------2------');
basicUnitMaintainSave(data, this.formName)
.then(response => {
this.formLoading = false;

@ -81,7 +81,7 @@
<el-form-item>
<el-button-group style="display:flex;">
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="search" @click="getList"></el-button>
<el-button type="primary" icon="search" @click="search"></el-button>
</el-button-group>
</el-form-item>
</el-form>
@ -218,6 +218,10 @@ export default {
this.checkVisible = true;
this.curRow = row;
},
search() {
this.filterQuery.page = 1;
this.getList();
},
getList() {
if (this.filterQuery.thirdSys == null) {
this.$message.warning("请先选择第三方系统!")

Loading…
Cancel
Save