top.$.jBox.open("iframe:${ctx}/report/reportSubjectDatabase/toChildWindow", "請選擇重構快照表的業態型別并確認", 400, 200,
{
buttons: {"確認": "ok", "關閉": true},
submit: function (v, h, f) {
if (v == 'ok') {
var selectPlat = h.find("iframe")[0].contentWindow.$("#selectPlat").val();
if (selectPlat != '1' && selectPlat != '2'){
top.$.jBox.tip("暫時無此業態的快照表可重構!");
return;
}
$.ajax({
type : 'post',
url : "${ctx}/report/reportSubjectDatabase/kingDeeOverLoad",
data :{planForm : selectPlat},
success :function (data) {
if (data =https://www.cnblogs.com/zhangyihao/p/="success"){
top.$.jBox.tip("重構金蝶介面資料成功!");
top.$.jBox.close();
}
if (data =https://www.cnblogs.com/zhangyihao/p/="false"){
top.$.jBox.tip("重構金蝶介面資料失敗!");
top.$.jBox.close();
}
}
});
}
}
}
);
解決方式:子頁面引入js檔案
轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/118306.html
標籤:JavaScript
上一篇:挑戰全網最幽默的Vuex系列教程:第一講 Vuex到底是什么鬼
下一篇:el-dialog拖拽功能
