1.修复部分页面产品详情表格分页问题,领用单据仓库关联查询问题

purchase
x_z 3 years ago
parent c5d68799c7
commit 5fe9c76d1b

@ -1610,7 +1610,7 @@ export default {
}, },
intentSelect(row) { intentSelect(row) {
if (row != null) if (row != null && row.sysId != undefined)
this.currentSysId = row.sysId; this.currentSysId = row.sysId;
// //
this.thirdQuery.thirdSysFk = this.currentSysId; this.thirdQuery.thirdSysFk = this.currentSysId;

@ -164,7 +164,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20" style="margin-top: -10px"> <el-row :gutter="20" style="margin-top: 0px">
<el-col :span="3"> <el-col :span="3">
<div class="ao-text"> <div class="ao-text">
<span>当前仓库</span> <span>当前仓库</span>
@ -247,7 +247,7 @@
</el-row> </el-row>
<el-row :gutter="20" style="margin-top: -10px;"> <el-row :gutter="20" style="margin-top: -5px;">
<el-col :span="3"> <el-col :span="3">
<div class="ao-text"> <div class="ao-text">
<span></span> <span></span>

@ -699,7 +699,7 @@ export default {
} }
}, },
detailHandleCurrentChange(val) { detailHandleCurrentChange(val) {
this.query.page = val; this.detailQuery.page = val;
this.getStockOrderDetailList(); this.getStockOrderDetailList();
}, },
// //

@ -504,7 +504,7 @@ export default {
this.getList(); this.getList();
}, },
detailHandleCurrentChange(val) { detailHandleCurrentChange(val) {
this.query.page = val; this.detailQuery.page = val;
this.getStockOrderDetailList(); this.getStockOrderDetailList();
}, },
// //

@ -170,6 +170,7 @@ export default {
path: "", path: "",
query: this.query, query: this.query,
}); });
this.query.page = 1;
this.getCodeList(); this.getCodeList();
}, },
handleSizeChange(val) { handleSizeChange(val) {

@ -481,6 +481,7 @@ export default {
// //
handleForm(node, data, formName) { handleForm(node, data, formName) {
this.formVisible = true; this.formVisible = true;
this.resetForm();
let no = Math.floor(Math.random() * 10000000) let no = Math.floor(Math.random() * 10000000)
this.pidData = data || null; this.pidData = data || null;
formJson.pid = (data && parseInt(data.id)) || ""; formJson.pid = (data && parseInt(data.id)) || "";
@ -689,7 +690,6 @@ export default {
getBasicThirdSys(query) getBasicThirdSys(query)
.then((response) => { .then((response) => {
this.thirdSys = response.data.list || []; this.thirdSys = response.data.list || [];
this.query.thirdSysFk = this.thirdSys[0].thirdId;
this.getThirdSysDetail(); this.getThirdSysDetail();
}) })
.catch(() => { .catch(() => {

@ -526,7 +526,6 @@ export default {
filterAllByUser() filterAllByUser()
.then((response) => { .then((response) => {
this.storageList = response.data || []; this.storageList = response.data || [];
this.findSubInvs();
}) })
.catch(() => { .catch(() => {
}); });
@ -947,6 +946,7 @@ export default {
this.$forceUpdate(); this.$forceUpdate();
this.getBusType(item); this.getBusType(item);
this.findStorageMethod(); this.findStorageMethod();
this.findSubInvs();
}, },
findSubInvs() { findSubInvs() {
this.subInvList = []; this.subInvList = [];

Loading…
Cancel
Save