1.修复bug

fengcang
x_z 3 years ago
parent 4297055a9f
commit e1b2b276ac

@ -325,7 +325,6 @@ export default {
},
entrustSubInvChange() {
let query = {
code: this.inputQuery.entrustSubInv,
}

@ -147,7 +147,7 @@
>提交
</el-button
>
<el-button type="primary" size="small" icon="search" @click="cancelDialog"
<el-button type="primary" size="small" icon="search" @click="cancelInterfaceDialog"
>取消
</el-button
>
@ -496,9 +496,13 @@ export default {
cancelDialog() {
this.getList();
this.modifyDialogVisible = false;
this.modifyDetailDialogVisible = false;
this.modifyBusYypeDialogVisible = false;
},
//
cancelInterfaceDialog() {
this.modifyDetailDialogVisible = false;
this.getDetailList();
},
handleCurrentChange(row) {
if (row != null) {
this.thirdSysFk = row.thirdId;

@ -449,6 +449,7 @@ export default {
hideForm() {
//
this.formVisible = !this.formVisible;
this.getList();
return true;
},
//

@ -1173,6 +1173,7 @@ export default {
cancelDialog() {
this.editDialogVisible = false;
this.getList();
},
handleCurrentChange(val) {
this.filterQuery.page = val;

@ -15,7 +15,7 @@
</el-form-item>
<el-form-item class="query-form-item">
<!-- <el-form-item class="query-form-item">
<el-select v-model="filterQuery.filterType" placeholder="请选择过滤对照条件">
<el-option
v-for="item in filterList"
@ -25,15 +25,17 @@
<span style="float: left">{{ item.sysName }}</span>
</el-option>
</el-select>
</el-form-item>
</el-row>
<el-row>
</el-form-item>-->
<el-form-item class="query-form-item">
<el-input v-model="filterQuery.ylqxzcrbarmc" placeholder="生产企业/注册备案人" clearable="true"></el-input>
</el-form-item>
</el-row>
<el-row>
<el-form-item class="query-form-item">
<el-input v-model="filterQuery.supName" placeholder="配送企业" clearable="true"></el-input>
</el-form-item>

@ -38,7 +38,7 @@
<el-form-item>
<el-button-group>
<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 type="primary" icon="search" @click="combine"></el-button>
</el-button-group>
</el-form-item>
@ -137,6 +137,7 @@ import {
} from "../../api/inout/stockOrder";
import store from "../../store";
import udiRlDetailDialog from "./../basic/UdiRlDetailDialog";
export default {
name: "closeDialog",
props: {
@ -258,6 +259,10 @@ export default {
this.getList();
event.target.select();
},
search() {
this.listQuery.page = 1;
this.getList();
},
getList() {
this.loading = true;
this.listQuery.customerId = store.getters.customerId;

@ -30,7 +30,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-row>
@ -175,6 +175,10 @@ export default {
};
this.getList();
},
search() {
this.filterQuery.page = 1;
this.getList();
},
getList() {
this.loading = true;
stockOrderUploadLogList(this.filterQuery).then((res) => {

@ -721,11 +721,15 @@ export default {
this.filterQuery.customerId = store.getters.customerId;
filterOrder(this.filterQuery)
.then((response) => {
console.log(response)
this.loading = false;
if (response.code === 20000) {
this.list = response.data.list || [];
this.detailList = [];
this.total = response.data.total || 0;
} else {
this.list = [];
this.$message.error(response.message);
}
})
.catch(() => {
this.loading = false;

@ -126,7 +126,7 @@
>
</el-table-column>
<el-table-column
prop="parentId"
prop="parentName"
label="所属仓库"
>
</el-table-column>

Loading…
Cancel
Save