修改
This commit is contained in:
@@ -413,12 +413,12 @@ public class LmsToMesServiceImpl implements LmsToMesService {
|
|||||||
|
|
||||||
String RTYPE = result.getString("RTYPE");
|
String RTYPE = result.getString("RTYPE");
|
||||||
if (RTYPE.equals("E")){
|
if (RTYPE.equals("E")){
|
||||||
throw new BadRequestException(result.getString("RTMSG"));
|
throw new BadRequestException("MES提示错误:"+result.getString("RTMSG"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new BadRequestException(e.getMessage());
|
throw new BadRequestException("MES提示错误:"+e.getMessage());
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
@@ -458,12 +458,12 @@ public class LmsToMesServiceImpl implements LmsToMesService {
|
|||||||
|
|
||||||
String RTYPE = result.getString("RTYPE");
|
String RTYPE = result.getString("RTYPE");
|
||||||
if (RTYPE.equals("E")){
|
if (RTYPE.equals("E")){
|
||||||
throw new BadRequestException(result.getString("RTMSG"));
|
throw new BadRequestException("MES提示错误:"+result.getString("RTMSG"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new BadRequestException(e.getMessage());
|
throw new BadRequestException("MES提示错误:"+e.getMessage());
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,11 +67,11 @@ public class LmsToSapServiceImpl implements LmsToSapService {
|
|||||||
|
|
||||||
String type = result.getString("TYPE");
|
String type = result.getString("TYPE");
|
||||||
if (StrUtil.equals(type, "E")) {
|
if (StrUtil.equals(type, "E")) {
|
||||||
throw new BadRequestException(result.getString("MESSAGE"));
|
throw new BadRequestException("SAP提示错误:"+result.getString("MESSAGE"));
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new BadRequestException(e.getMessage());
|
throw new BadRequestException("SAP提示错误:"+e.getMessage());
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
@@ -131,11 +131,11 @@ public class LmsToSapServiceImpl implements LmsToSapService {
|
|||||||
|
|
||||||
String type = result.getString("TYPE");
|
String type = result.getString("TYPE");
|
||||||
if (StrUtil.equals(type, "E")) {
|
if (StrUtil.equals(type, "E")) {
|
||||||
throw new BadRequestException(result.getString("MESSAGE"));
|
throw new BadRequestException("SAP提示错误:"+result.getString("MESSAGE"));
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new BadRequestException(e.getMessage());
|
throw new BadRequestException("SAP提示错误:"+e.getMessage());
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -116,11 +116,12 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<!--如果想在工具栏加入更多按钮,可以使用插槽方式, slot = 'left' or 'right'-->
|
<!--如果想在工具栏加入更多按钮,可以使用插槽方式, slot = 'left' or 'right'-->
|
||||||
<crudOperation>
|
<crudOperation :permission="permission">
|
||||||
<el-button
|
<el-button
|
||||||
slot="right"
|
slot="right"
|
||||||
class="filter-item"
|
class="filter-item"
|
||||||
type="warning"
|
type="warning"
|
||||||
|
:permission="permission"
|
||||||
:disabled="confirm_flag"
|
:disabled="confirm_flag"
|
||||||
icon="el-icon-check"
|
icon="el-icon-check"
|
||||||
size="mini"
|
size="mini"
|
||||||
|
|||||||
@@ -107,7 +107,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<!--如果想在工具栏加入更多按钮,可以使用插槽方式, slot = 'left' or 'right'-->
|
<!--如果想在工具栏加入更多按钮,可以使用插槽方式, slot = 'left' or 'right'-->
|
||||||
<crudOperation>
|
<crudOperation :permission="permission">
|
||||||
<el-button
|
<el-button
|
||||||
slot="right"
|
slot="right"
|
||||||
class="filter-item"
|
class="filter-item"
|
||||||
|
|||||||
@@ -116,7 +116,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<!--如果想在工具栏加入更多按钮,可以使用插槽方式, slot = 'left' or 'right'-->
|
<!--如果想在工具栏加入更多按钮,可以使用插槽方式, slot = 'left' or 'right'-->
|
||||||
<crudOperation>
|
<crudOperation :permission="permission">
|
||||||
<el-button
|
<el-button
|
||||||
slot="right"
|
slot="right"
|
||||||
class="filter-item"
|
class="filter-item"
|
||||||
|
|||||||
Reference in New Issue
Block a user