提交 8934b29a 编写于 作者: W weizhiqiang

ERP操作页面地址修改

上级 eb2341d5
......@@ -205,7 +205,7 @@ layui.config({
//销售单选择
$("body").on("click", "#salesOrderSel", function (e) {
_openNewWindows({
url: "../../tpl/salesorder/salesOrderChoose.html",
url: "../../tpl/salesOrder/salesOrderChoose.html",
title: "选择销售单据",
pageId: "salesOrderChoose",
area: ['90vw', '90vh'],
......
......@@ -255,7 +255,7 @@ layui.config({
//销售单选择
$("body").on("click", "#salesOrderSel", function (e) {
_openNewWindows({
url: "../../tpl/salesorder/salesOrderChoose.html",
url: "../../tpl/salesOrder/salesOrderChoose.html",
title: "选择销售单据",
pageId: "salesOrderChoose",
area: ['90vw', '90vh'],
......
......@@ -96,9 +96,9 @@ layui.config({
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/allocation/allocationedit.html",
url: "../../tpl/allocation/allocationEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "allocationedit",
pageId: "allocationEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -110,9 +110,9 @@ layui.config({
function details(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/allocation/allocationdetails.html",
url: "../../tpl/allocation/allocationDetails.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "allocationdetails",
pageId: "allocationDetails",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}});
......@@ -121,9 +121,9 @@ layui.config({
// 添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/allocation/allocationadd.html",
url: "../../tpl/allocation/allocationAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "allocationadd",
pageId: "allocationAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -172,5 +172,5 @@ layui.config({
};
}
exports('allocationlist', {});
exports('allocationList', {});
});
......@@ -96,9 +96,9 @@ layui.config({
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/assemblysheet/assemblysheetedit.html",
url: "../../tpl/assemblySheet/assemblySheetEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "assemblysheetedit",
pageId: "assemblySheetEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -110,9 +110,9 @@ layui.config({
function details(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/assemblysheet/assemblysheetdetails.html",
url: "../../tpl/assemblySheet/assemblySheetDetails.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "assemblysheetdetails",
pageId: "assemblySheetDetails",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}});
......@@ -121,9 +121,9 @@ layui.config({
// 添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/assemblysheet/assemblysheetadd.html",
url: "../../tpl/assemblySheet/assemblySheetAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "assemblysheetadd",
pageId: "assemblySheetAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -172,5 +172,5 @@ layui.config({
};
}
exports('assemblysheetlist', {});
exports('assemblySheetList', {});
});
......@@ -70,7 +70,7 @@ layui.config({
_openNewWindows({
url: url,
title: "单据详情",
pageId: "otherwarehousdetails",
pageId: "orderMationDetails",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}});
......
......@@ -84,7 +84,7 @@ layui.config({
_openNewWindows({
url: url,
title: "单据详情",
pageId: "otherwarehousdetails",
pageId: "orderMationDetails",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}});
......@@ -92,7 +92,6 @@ layui.config({
form.on('submit(formSearch)', function (data) {
if (winui.verifyForm(data.elem)) {
loadTable();
}
......
......@@ -79,7 +79,7 @@ layui.config({
_openNewWindows({
url: url,
title: "单据详情",
pageId: "otherwarehousdetails",
pageId: "orderMationDetails",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}});
......
......@@ -45,9 +45,9 @@ layui.config({
//添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/materialnormstock/materialnormstockadd.html",
url: "../../tpl/materialNormInitStock/materialNormInitStockAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "materialnormstockadd",
pageId: "materialNormInitStockAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -80,9 +80,9 @@ layui.config({
function edit(data) {
chooseDepotId = data.depotId;
_openNewWindows({
url: "../../tpl/materialnormstock/materialnormstockedit.html",
url: "../../tpl/materialNormInitStock/materialNormInitStockEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "materialnormstockedit",
pageId: "materialNormInitStockEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -105,5 +105,5 @@ layui.config({
parent.layer.close(index);
});
exports('materialnormstock', {});
exports('materialNormInitStockList', {});
});
......@@ -21,7 +21,7 @@ layui.config({
url: flowableBasePath + "materialunit004",
params: {rowId: parent.rowId},
pagination: false,
template: getFileContent('tpl/materialunit/materialuniteditTemplate.tpl'),
template: getFileContent('tpl/materialUnit/materialUnitEditTemplate.tpl'),
ajaxSendAfter:function (json) {
$.each(json.bean.unitList, function(i, item) {
......@@ -35,7 +35,6 @@ layui.config({
matchingLanguage();
form.render();
form.on('submit(formEditBean)', function (data) {
if (winui.verifyForm(data.elem)) {
//获取填写副单位
var rowTr = $("#useTable tr");
......
......@@ -51,9 +51,9 @@ layui.config({
// 添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/materialunit/materialunitadd.html",
url: "../../tpl/materialUnit/materialUnitAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "materialunitadd",
pageId: "materialUnitAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -76,9 +76,9 @@ layui.config({
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/materialunit/materialunitedit.html",
url: "../../tpl/materialUnit/materialUnitEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "materialunitedit",
pageId: "materialUnitEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -88,7 +88,6 @@ layui.config({
}
form.render();
// 刷新数据
$("body").on("click", "#reloadTable", function() {
loadTable();
});
......@@ -101,5 +100,5 @@ layui.config({
return $.extend(true, {}, initTableSearchUtil.getSearchValue("messageTable"));
}
exports('materialunitlist', {});
exports('materialUnitList', {});
});
......@@ -88,9 +88,9 @@ layui.config({
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/otheroutlets/otheroutletsedit.html",
url: "../../tpl/otherOutlets/otherOutletsEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "otheroutletsedit",
pageId: "otherOutletsEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -109,20 +109,20 @@ layui.config({
function details(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/otheroutlets/otheroutletsdetails.html",
url: "../../tpl/otherOutlets/otherOutletsDetails.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "otheroutletsdetails",
pageId: "otherOutletsDetails",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}});
}
//添加
// 添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/otheroutlets/otheroutletsadd.html",
url: "../../tpl/otherOutlets/otherOutletsAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "otheroutletsadd",
pageId: "otherOutletsAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -170,5 +170,5 @@ layui.config({
};
}
exports('otheroutletslist', {});
exports('otherOutletsList', {});
});
......@@ -34,13 +34,11 @@ layui.config({
// 初始化账户
systemCommonUtil.getSysAccountListByType(function (json) {
// 加载账户数据
$("#accountId").html(getDataUseHandlebars(selOption, json));
});
// 初始化仓库
erpOrderUtil.getDepotList(function (json) {
// 加载仓库数据
$("#depotId").html(getDataUseHandlebars(selOption, json));
});
......
......@@ -41,7 +41,7 @@ layui.config({
initDataToShow();
});
//渲染数据到页面
// 渲染数据到页面
function initDataToShow(){
AjaxPostUtil.request({url: flowableBasePath + "otherwarehous003", params: {rowId: parent.rowId}, type: 'json', method: "GET", callback: function(json) {
submitType = json.bean.submitType;
......
......@@ -88,9 +88,9 @@ layui.config({
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/otherwarehous/otherwarehousedit.html",
url: "../../tpl/otherWarehous/otherWarehousEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "otherwarehousedit",
pageId: "otherWarehousEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -109,9 +109,9 @@ layui.config({
function details(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/otherwarehous/otherwarehousdetails.html",
url: "../../tpl/otherWarehous/otherWarehousDetails.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "otherwarehousdetails",
pageId: "otherWarehousDetails",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}});
......@@ -120,9 +120,9 @@ layui.config({
// 添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/otherwarehous/otherwarehousadd.html",
url: "../../tpl/otherWarehous/otherWarehousAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "otherwarehousadd",
pageId: "otherWarehousAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -170,5 +170,5 @@ layui.config({
};
}
exports('otherwarehouslist', {});
exports('otherWarehousList', {});
});
......@@ -91,9 +91,9 @@ layui.config({
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/purchaseorder/purchaseorderedit.html",
url: "../../tpl/purchaseOrder/purchaseOrderEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "purchaseorderedit",
pageId: "purchaseOrderEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -112,7 +112,7 @@ layui.config({
function details(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/purchaseorder/purchaseOrderDetails.html",
url: "../../tpl/purchaseOrder/purchaseOrderDetails.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "purchaseOrderDetails",
area: ['90vw', '90vh'],
......@@ -131,9 +131,9 @@ layui.config({
function turnPurchase(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/purchaseorder/purchaseorderpurchase.html",
url: "../../tpl/purchaseOrder/purchaseOrderToPut.html",
title: "转采购入库",
pageId: "purchaseorderpurchase",
pageId: "purchaseOrderToPut",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -144,9 +144,9 @@ layui.config({
// 添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/purchaseorder/purchaseorderadd.html",
url: "../../tpl/purchaseOrder/purchaseOrderAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "purchaseorderadd",
pageId: "purchaseOrderAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -195,5 +195,5 @@ layui.config({
});
});
exports('purchaseorderlist', {});
exports('purchaseOrderList', {});
});
......@@ -118,9 +118,9 @@ layui.config({
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/purchaseput/purchaseputedit.html",
url: "../../tpl/purchasePut/purchasePutEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "purchaseputedit",
pageId: "purchasePutEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -132,9 +132,9 @@ layui.config({
function details(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/purchaseput/purchaseputdetails.html",
url: "../../tpl/purchasePut/purchasePutDetails.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "purchaseputdetails",
pageId: "purchasePutDetails",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}});
......@@ -143,9 +143,9 @@ layui.config({
// 添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/purchaseput/purchaseputadd.html",
url: "../../tpl/purchasePut/purchasePutAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "purchaseputadd",
pageId: "purchasePutAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -190,5 +190,5 @@ layui.config({
};
}
exports('purchaseputlist', {});
exports('purchasePutList', {});
});
......@@ -107,9 +107,9 @@ layui.config({
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/purchasereturns/purchasereturnsedit.html",
url: "../../tpl/purchaseReturns/purchaseReturnsEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "purchasereturnsedit",
pageId: "purchaseReturnsEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -121,9 +121,9 @@ layui.config({
function details(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/purchasereturns/purchasereturnsdetails.html",
url: "../../tpl/purchaseReturns/purchaseReturnsDetails.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "purchasereturnsdetails",
pageId: "purchaseReturnsDetails",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}});
......@@ -132,9 +132,9 @@ layui.config({
// 添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/purchasereturns/purchasereturnsadd.html",
url: "../../tpl/purchaseReturns/purchaseReturnsAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "purchasereturnsadd",
pageId: "purchaseReturnsAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -179,5 +179,5 @@ layui.config({
};
}
exports('purchasereturnslist', {});
exports('purchaseReturnsList', {});
});
......@@ -96,9 +96,9 @@ layui.config({
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/retailoutlet/retailoutletedit.html",
url: "../../tpl/retailOutlet/retailOutletEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "retailoutletedit",
pageId: "retailOutletEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -110,9 +110,9 @@ layui.config({
function details(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/retailoutlet/retailoutletdetails.html",
url: "../../tpl/retailOutlet/retailOutletDetails.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "retailoutletdetails",
pageId: "retailOutletDetails",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}});
......@@ -121,9 +121,9 @@ layui.config({
//添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/retailoutlet/retailoutletadd.html",
url: "../../tpl/retailOutlet/retailOutletAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "retailoutletadd",
pageId: "retailOutletAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -171,5 +171,5 @@ layui.config({
};
}
exports('retailoutletlist', {});
exports('retailOutletList', {});
});
......@@ -96,9 +96,9 @@ layui.config({
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/retailreturns/retailreturnsedit.html",
url: "../../tpl/retailReturns/retailReturnsEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "retailreturnsedit",
pageId: "retailReturnsEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -110,7 +110,7 @@ layui.config({
function details(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/retailreturns/retailReturnsDetails.html",
url: "../../tpl/retailReturns/retailReturnsDetails.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "retailReturnsDetails",
area: ['90vw', '90vh'],
......@@ -121,9 +121,9 @@ layui.config({
// 添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/retailreturns/retailreturnsadd.html",
url: "../../tpl/retailReturns/retailReturnsAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "retailreturnsadd",
pageId: "retailReturnsAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -171,5 +171,5 @@ layui.config({
};
}
exports('retailreturnslist', {});
exports('retailReturnsList', {});
});
......@@ -83,9 +83,9 @@ layui.config({
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/salesorder/salesorderedit.html",
url: "../../tpl/salesOrder/salesOrderEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "salesorderedit",
pageId: "salesOrderEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -104,9 +104,9 @@ layui.config({
function details(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/salesorder/salesorderdetails.html",
url: "../../tpl/salesOrder/salesOrderDetails.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "salesorderdetails",
pageId: "salesOrderDetails",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}});
......@@ -123,9 +123,9 @@ layui.config({
function turnSales(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/salesorder/salesorderpurchase.html",
url: "../../tpl/salesOrder/salesOrderToOut.html",
title: "转销售出库",
pageId: "salesorderpurchase",
pageId: "salesOrderToOut",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -136,9 +136,9 @@ layui.config({
// 添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/salesorder/salesorderadd.html",
url: "../../tpl/salesOrder/salesOrderAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "salesorderadd",
pageId: "salesOrderAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -192,5 +192,5 @@ layui.config({
};
}
exports('salesorderlist', {});
exports('salesOrderList', {});
});
......@@ -40,21 +40,17 @@ layui.config({
// 初始化账户
systemCommonUtil.getSysAccountListByType(function (json) {
// 加载账户数据
$("#accountId").html(getDataUseHandlebars(selOption, json));
});
// 初始化支出项目
systemCommonUtil.getSysInoutitemListByType(2, function (json) {
// 加载支出项目
inoutitemHtml = getDataUseHandlebars(selOption, json);
});
// 初始化仓库
erpOrderUtil.getDepotList(function (json){
// 加载仓库数据
$("#depotId").html(getDataUseHandlebars(selOption, json));
// 初始化回显数据
initDataShow();
});
......
......@@ -66,9 +66,9 @@ layui.config({
function details(data) {
rowId = data.orderId;
_openNewWindows({
url: "../../tpl/salesorder/salesorderdetails.html",
url: "../../tpl/salesOrder/salesOrderDetails.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "salesorderdetails",
pageId: "salesOrderDetails",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}});
......
......@@ -110,9 +110,9 @@ layui.config({
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/salesoutlet/salesoutletedit.html",
url: "../../tpl/salesOutlet/salesOutletEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "salesoutletedit",
pageId: "salesOutletEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -124,9 +124,9 @@ layui.config({
function details(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/salesoutlet/salesoutletdetails.html",
url: "../../tpl/salesOutlet/salesOutletDetails.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "salesoutletdetails",
pageId: "salesOutletDetails",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}});
......@@ -135,9 +135,9 @@ layui.config({
// 添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/salesoutlet/salesoutletadd.html",
url: "../../tpl/salesOutlet/salesOutletAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "salesoutletadd",
pageId: "salesOutletAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -182,5 +182,5 @@ layui.config({
};
}
exports('salesoutletlist', {});
exports('salesOutletList', {});
});
......@@ -107,9 +107,9 @@ layui.config({
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/salesreturns/salesreturnsedit.html",
url: "../../tpl/salesReturns/salesReturnsEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "salesreturnsedit",
pageId: "salesReturnsEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -121,7 +121,7 @@ layui.config({
function details(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/salesreturns/salesReturnsDetails.html",
url: "../../tpl/salesReturns/salesReturnsDetails.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "salesReturnsDetails",
area: ['90vw', '90vh'],
......@@ -132,9 +132,9 @@ layui.config({
// 添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/salesreturns/salesreturnsadd.html",
url: "../../tpl/salesReturns/salesReturnsAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "salesreturnsadd",
pageId: "salesReturnsAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -182,5 +182,5 @@ layui.config({
};
}
exports('salesreturnslist', {});
exports('salesReturnsList', {});
});
......@@ -92,13 +92,13 @@ layui.config({
});
}
//编辑
// 编辑
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/splitlist/splitlistedit.html",
url: "../../tpl/splitDoc/splitDocEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "splitlistedit",
pageId: "splitDocEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -106,24 +106,24 @@ layui.config({
}});
}
//详情
// 详情
function details(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/splitlist/splitlistdetails.html",
url: "../../tpl/splitDoc/splitDocDetails.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "splitlistdetails",
pageId: "splitDocDetails",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}});
}
//添加
// 添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/splitlist/splitlistadd.html",
url: "../../tpl/splitDoc/splitDocAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "splitlistadd",
pageId: "splitDocAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -173,5 +173,5 @@ layui.config({
};
}
exports('splitlistlist', {});
exports('splitDocList', {});
});
......@@ -69,9 +69,9 @@ layui.config({
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/storehouse/storehouseedit.html",
url: "../../tpl/storeHouse/storeHouseEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "storehouseedit",
pageId: "storeHouseEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -96,9 +96,9 @@ layui.config({
function selectHouse(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/storehouse/storehouseinfo.html",
url: "../../tpl/storeHouse/storeHouseInfo.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "storehouseinfo",
pageId: "storeHouseInfo",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -109,9 +109,9 @@ layui.config({
// 添加仓库
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/storehouse/storehouseadd.html",
url: "../../tpl/storeHouse/storeHouseAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "storehouseadd",
pageId: "storeHouseAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -133,5 +133,5 @@ layui.config({
return $.extend(true, {}, initTableSearchUtil.getSearchValue("messageTable"));
}
exports('storehouselist', {});
exports('storeHouseList', {});
});
......@@ -74,9 +74,9 @@ layui.config({
function selectSupplier(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/supplier/supplierinfo.html",
url: "../../tpl/supplier/supplierInfo.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "supplierinfo",
pageId: "supplierInfo",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}
......
......@@ -14,7 +14,7 @@ layui.config({
url: flowableBasePath + "supplier003",
params: {rowId: parent.rowId},
pagination: false,
template: getFileContent('tpl/supplier/suppliereditTemplate.tpl'),
template: getFileContent('tpl/supplier/supplierEditTemplate.tpl'),
ajaxSendLoadBefore: function(hdb) {},
ajaxSendAfter:function (json) {
......
......@@ -88,9 +88,9 @@ layui.config({
function editSupplier(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/supplier/supplieredit.html",
url: "../../tpl/supplier/supplierEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "supplieredit",
pageId: "supplierEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -133,9 +133,9 @@ layui.config({
function selectSupplier(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/supplier/supplierinfo.html",
url: "../../tpl/supplier/supplierInfo.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "supplierinfo",
pageId: "supplierInfo",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}
......@@ -145,9 +145,9 @@ layui.config({
//添加供应商
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/supplier/supplieradd.html",
url: "../../tpl/supplier/supplierAdd.html",
title: "新增供应商",
pageId: "supplieradd",
pageId: "supplierAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
......@@ -180,5 +180,5 @@ layui.config({
enabled: $("#enabled").val()}})
}
exports('supplierlist', {});
exports('supplierList', {});
});
......@@ -62,7 +62,7 @@
<script src="../../assets/lib/layui/custom.js"></script>
<script src="../../js/erpcommon/loadStock.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/allocation/'}).use('allocationadd');
layui.config({base: '../../js/allocation/'}).use('allocationAdd');
</script>
</body>
</html>
\ No newline at end of file
......@@ -127,7 +127,7 @@
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/allocation/'}).use('allocationdetails');
layui.config({base: '../../js/allocation/'}).use('allocationDetails');
</script>
</body>
</html>
\ No newline at end of file
......@@ -69,7 +69,7 @@
<script src="../../assets/lib/layui/custom.js"></script>
<script src="../../js/erpcommon/loadStock.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/allocation/'}).use('allocationedit');
layui.config({base: '../../js/allocation/'}).use('allocationEdit');
</script>
</body>
</html>
\ No newline at end of file
......@@ -56,7 +56,7 @@
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/allocation/'}).use('allocationlist');
layui.config({base: '../../js/allocation/'}).use('allocationList');
</script>
</body>
</html>
\ No newline at end of file
......@@ -54,7 +54,7 @@
<script src="../../assets/lib/layui/custom.js"></script>
<script src="../../js/erpcommon/loadStock.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/assemblysheet/'}).use('assemblysheetadd');
layui.config({base: '../../js/assemblySheet/'}).use('assemblySheetAdd');
</script>
</body>
</html>
\ No newline at end of file
......@@ -126,7 +126,7 @@
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/assemblysheet/'}).use('assemblysheetdetails');
layui.config({base: '../../js/assemblySheet/'}).use('assemblySheetDetails');
</script>
</body>
</html>
\ No newline at end of file
......@@ -61,7 +61,7 @@
<script src="../../assets/lib/layui/custom.js"></script>
<script src="../../js/erpcommon/loadStock.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/assemblysheet/'}).use('assemblysheetedit');
layui.config({base: '../../js/assemblySheet/'}).use('assemblySheetEdit');
</script>
</body>
</html>
\ No newline at end of file
......@@ -56,7 +56,7 @@
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/assemblysheet/'}).use('assemblysheetlist');
layui.config({base: '../../js/assemblySheet/'}).use('assemblySheetList');
</script>
</body>
</html>
\ No newline at end of file
......@@ -35,7 +35,7 @@
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/materialnormstock/'}).use('materialnormstockadd');
layui.config({base: '../../js/materialNormInitStock/'}).use('materialNormInitStockAdd');
</script>
</body>
</html>
\ No newline at end of file
......@@ -32,7 +32,7 @@
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/materialnormstock/'}).use('materialnormstockedit');
layui.config({base: '../../js/materialNormInitStock/'}).use('materialNormInitStockEdit');
</script>
</body>
</html>
\ No newline at end of file
......@@ -30,7 +30,7 @@
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/materialnormstock/'}).use('materialnormstock');
layui.config({base: '../../js/materialNormInitStock/'}).use('materialNormInitStockList');
</script>
</body>
</html>
\ No newline at end of file
......@@ -67,7 +67,7 @@
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/materialunit/'}).use('materialunitadd');
layui.config({base: '../../js/materialUnit/'}).use('materialUnitAdd');
</script>
</body>
</html>
\ No newline at end of file
......@@ -34,7 +34,7 @@
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/materialunit/'}).use('materialunitedit');
layui.config({base: '../../js/materialUnit/'}).use('materialUnitEdit');
</script>
</body>
</html>
\ No newline at end of file
......@@ -28,7 +28,7 @@
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/materialunit/'}).use('materialunitlist');
layui.config({base: '../../js/materialUnit/'}).use('materialUnitList');
</script>
</body>
</html>
\ No newline at end of file
......@@ -119,7 +119,7 @@
<script src="../../js/erpcommon/calculatePrice.js"></script>
<script src="../../js/erpcommon/loadStock.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/otheroutlets/'}).use('otheroutletsadd');
layui.config({base: '../../js/otherOutlets/'}).use('otherOutletsAdd');
</script>
</body>
</html>
\ No newline at end of file
......@@ -182,7 +182,7 @@
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/otheroutlets/'}).use('otheroutletsdetails');
layui.config({base: '../../js/otherOutlets/'}).use('otherOutletsDetails');
</script>
</body>
</html>
\ No newline at end of file
......@@ -120,7 +120,7 @@
<script src="../../js/erpcommon/calculatePrice.js"></script>
<script src="../../js/erpcommon/loadStock.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/otheroutlets/'}).use('otheroutletsedit');
layui.config({base: '../../js/otherOutlets/'}).use('otherOutletsEdit');
</script>
</body>
</html>
\ No newline at end of file
......@@ -75,7 +75,7 @@
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/otheroutlets/'}).use('otheroutletslist');
layui.config({base: '../../js/otherOutlets/'}).use('otherOutletsList');
</script>
</body>
</html>
\ No newline at end of file
......@@ -119,7 +119,7 @@
<script src="../../js/erpcommon/calculatePrice.js"></script>
<script src="../../js/erpcommon/loadStock.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/otherwarehous/'}).use('otherwarehousadd');
layui.config({base: '../../js/otherWarehous/'}).use('otherWarehousAdd');
</script>
</body>
</html>
\ No newline at end of file
......@@ -182,7 +182,7 @@
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/otherwarehous/'}).use('otherwarehousdetails');
layui.config({base: '../../js/otherWarehous/'}).use('otherWarehousDetails');
</script>
</body>
</html>
\ No newline at end of file
......@@ -120,7 +120,7 @@
<script src="../../js/erpcommon/calculatePrice.js"></script>
<script src="../../js/erpcommon/loadStock.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/otherwarehous/'}).use('otherwarehousedit');
layui.config({base: '../../js/otherWarehous/'}).use('otherWarehousEdit');
</script>
</body>
</html>
\ No newline at end of file
......@@ -75,7 +75,7 @@
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/otherwarehous/'}).use('otherwarehouslist');
layui.config({base: '../../js/otherWarehous/'}).use('otherWarehousList');
</script>
</body>
</html>
\ No newline at end of file
......@@ -128,7 +128,7 @@
<script src="../../js/erpcommon/calculatePrice.js"></script>
<script src="../../js/erpcommon/loadStock.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/purchaseorder/'}).use('purchaseorderadd');
layui.config({base: '../../js/purchaseOrder/'}).use('purchaseOrderAdd');
</script>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册