Commit 05dc5290 by Joey

fix(@gms/gms-plugin-billexpand): 保存按钮读取GMS.queryObject报错

parent 95b9bc0c
...@@ -111,8 +111,10 @@ export default { ...@@ -111,8 +111,10 @@ export default {
bill.getMasterData().setValue("billCode", response.data.content.billData.billCode); bill.getMasterData().setValue("billCode", response.data.content.billData.billCode);
const id = response.data.content.billData.id; const id = response.data.content.billData.id;
//处理上张下张 //处理上张下张
if(GMS.queryObject.index==-1){ if (GMS.queryObject) {
GMS.queryObject.index=0; if(GMS.queryObject.index==-1){
GMS.queryObject.index=0;
}
} }
GMS.vbus.$Message.success("保存成功"); GMS.vbus.$Message.success("保存成功");
if (param.param && param.param.isApprove) { if (param.param && param.param.isApprove) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment