1.修复异常单据详情数量显示错误问题

2.修复一些页面的分页bug
fencang
x_z 3 years ago
parent 7a0c579c0c
commit b4b6e58cf9

@ -207,6 +207,7 @@ export default {
},
onSubmit() {
this.loading = true;
this.filterQuery.page = 1;
this.getList();
},
handleSizeChange(val) {
@ -233,7 +234,6 @@ export default {
this.filterQuery.customerId = store.getters.customerId;
filterProducts(this.filterQuery)
.then((response) => {
console.log(response)
this.loading = false;
this.showSup = response.data.showSup;
this.list = response.data.list || [];
@ -311,7 +311,6 @@ export default {
});
},
findMethod(query) {
console.log(query);
this.fromOptions = [];
let cQuery = {
key: query,

@ -308,13 +308,13 @@
></el-table-column>
<el-table-column
label="单据数量"
prop="reCount"
prop="erpCount"
width="100"
:show-overflow-tooltip="true"
></el-table-column>
<el-table-column
label="实际数量"
prop="erpCount"
prop="reCount"
width="100"
:show-overflow-tooltip="true"
></el-table-column>

@ -232,6 +232,7 @@ export default {
path: "",
query: this.query,
});
this.query.page = 1;
this.getCodeList();
},
handleSizeChange(val) {
@ -280,7 +281,6 @@ export default {
getCodeList() {
this.loading = true;
this.query.orderId = this.idQuery.id;
console.log(this.idQuery.id)
errorCodeList(this.query) //
.then((response) => {
this.loading = false;

@ -689,9 +689,7 @@ export default {
.then((response) => {
this.detailLoading = false;
this.detailList = response.data.list || [];
/*this.detailList.forEach(data => {
data['edit'] = false;
});*/
this.detailTotal = response.data.total;
})
.catch(() => {
this.detailLoading = false;

@ -600,6 +600,7 @@ export default {
this.query.startTime = null;
this.query.endTime = null;
}
this.query.page = 1;
this.getList();
if (this.query.status === "502") {
this.haveNewDistributionVisible = true;
@ -702,6 +703,7 @@ export default {
.then((response) => {
this.detailLoading = false;
this.detailList = response.data.list || [];
this.detailTotal = response.data.total;
})
.catch(() => {
this.detailLoading = false;

@ -618,7 +618,6 @@ export default {
},
handleEdit(index, row) {
this.currentCheckIndex = index;
console.log(this.currentCheckIndex)
},
handleSave(index, row) {
this.currentCheckIndex = -1;
@ -635,7 +634,6 @@ export default {
row.forEach((item) => {
_this.multipId.push(item.id);
})
console.log(this.multipId);
},
batchSetParams(flag, type) {
if (flag == '1' && type == 'salesListNo') {
@ -807,9 +805,9 @@ export default {
this.detailLoading = true;
stockOrderDetail(this.detailQuery)
.then((response) => {
console.log(response)
this.detailLoading = false;
this.detailList = response.data.list || [];
this.detailTotal = response.data.total;
})
.catch(() => {
this.detailLoading = false;

Loading…
Cancel
Save