Commit cc1f7198 by wancheng

报屏显示优化

parent 02dab59d
......@@ -10,7 +10,7 @@
FACTORY_CODE AS "factoryCode",
FACTORY_NAME AS "factoryName"
FROM iplat.TXSOG01
WHERE 1 = 1
WHERE 1 = 1 AND IS_DELETED = 0
AND FACTORY_CODE IN (
SELECT ORG_ENAME FROM iplat.TXSOG01
WHERE COMPANY_CODE = #companyCode# AND ORG_TYPE = 'factory'
......
......@@ -17,6 +17,17 @@ $(function () {
}
let flag = true;
$.each(rows, function(index, item) {
let id = item.get("id");
if (isBlank(id)) {
IPLAT.alert({
message: "选中的第" + (index + 1) + "行数据未保存,不能批量派工!",
okFn: function (e) {
},
title: '错误'
});
flag = false;
return false;
}
let status = item.get("status");
if (status === "1") {
IPLAT.alert({
......
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