|
|
|
@ -258,13 +258,28 @@ export default {
|
|
|
|
|
this.getCodeList();
|
|
|
|
|
},
|
|
|
|
|
handleCurrentChange(val) {
|
|
|
|
|
this.query.page = val;
|
|
|
|
|
this.getCodeList();
|
|
|
|
|
this.query.page =val;
|
|
|
|
|
this.getCodeList1();
|
|
|
|
|
},
|
|
|
|
|
getCodeList1() {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
this.query.corpOrderId = this.idQuery.id;
|
|
|
|
|
codeList(this.query) //查找该单号下的所有条码
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.codeArry = response.data.list || [];
|
|
|
|
|
this.total = response.data.total || 0;
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.list = [];
|
|
|
|
|
this.total = 0;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
getCodeList() {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
this.query.corpOrderId = this.idQuery.id;
|
|
|
|
|
this.query.page=1
|
|
|
|
|
codeList(this.query) //查找该单号下的所有条码
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|