|
@@ -684,7 +684,7 @@ app.controller("formeditCtrl", ["$scope", "$http", "$timeout", "$sce", function
|
|
|
.success(function (obj) {
|
|
|
var res = strToJson(s4.decryptData_CBC(obj.data));
|
|
|
self.data = {
|
|
|
- CPSX: res.data.SW_ZJWWJCBD.CPSX == "" ? "" : sp.format(res.data.SW_ZJWWJCBD.CPSX),
|
|
|
+ CPSX: res.data.SW_LDPSCBD.CPSX == "" ? "" : sp.format(res.data.SW_LDPSCBD.CPSX),
|
|
|
ID: res.data.SW_LDPSCBD.ID,
|
|
|
APPCODE: res.data.SW_LDPSCBD.APPCODE,
|
|
|
JJCD: res.data.SW_LDPSCBD.JJCD == "" ? self.JJCD[0].CODE : res.data.SW_LDPSCBD.JJCD,
|
|
@@ -717,7 +717,7 @@ app.controller("formeditCtrl", ["$scope", "$http", "$timeout", "$sce", function
|
|
|
USAGE: res.data.SW_LDPSCBD.USAGE
|
|
|
}
|
|
|
self.readonly = {
|
|
|
- CPSX: true,
|
|
|
+ CPSX: res.data.SW_LDPSCBD["CPSX.EREADONLY"] == "true",
|
|
|
JJCD: res.data.SW_LDPSCBD["JJCD.EREADONLY"] == "true",
|
|
|
SWLB: res.data.SW_LDPSCBD["SWLB.EREADONLY"] == "true",
|
|
|
SWBH: res.data.SW_LDPSCBD["SWBH.EREADONLY"] == "true",
|
|
@@ -744,7 +744,7 @@ app.controller("formeditCtrl", ["$scope", "$http", "$timeout", "$sce", function
|
|
|
USAGE: res.data.SW_LDPSCBD["USAGE.EREADONLY"] == "true"
|
|
|
}
|
|
|
self.show = {
|
|
|
- CPSX: res.data.SW_ZJWWJCBD["CPSX.ESHOW"] == "true",
|
|
|
+ CPSX: res.data.SW_LDPSCBD["CPSX.ESHOW"] == "true",
|
|
|
JJCD: res.data.SW_LDPSCBD["JJCD.ESHOW"] == "true",
|
|
|
SWLB: res.data.SW_LDPSCBD["SWLB.ESHOW"] == "true",
|
|
|
SWBH: res.data.SW_LDPSCBD["SWBH.ESHOW"] == "true",
|