切换导航条
此项目
正在载入...
登录
朱兆平
/
agent
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
蔺文领
7 years ago
提交
9f3f150e1487e0e97b64a7e4356fb7064bc77f42
1 个父辈
db6b9875
增加运单号正则校验
显示空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
14 行增加
和
2 行删除
.classpath
.settings/org.eclipse.jdt.core.prefs
src/main/webapp/WEB-INF/views/manifest/edit.jsp
.classpath
查看文件 @
9f3f150
...
...
@@ -15,16 +15,17 @@
<attributes>
<attribute
name=
"optional"
value=
"true"
/>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
<attribute
name=
"test"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
excluding=
"**"
kind=
"src"
output=
"target/test-classes"
path=
"src/test/resources"
>
<attributes>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
<attribute
name=
"test"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"
>
<attributes>
<attribute
name=
"module"
value=
"true"
/>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
</classpathentry>
...
...
@@ -34,6 +35,5 @@
<attribute
name=
"org.eclipse.jst.component.dependency"
value=
"/WEB-INF/lib"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"con"
path=
"org.eclipse.jst.j2ee.internal.web.container"
/>
<classpathentry
kind=
"output"
path=
"target/classes"
/>
</classpath>
...
...
.settings/org.eclipse.jdt.core.prefs
查看文件 @
9f3f150
...
...
@@ -5,4 +5,5 @@ org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.7
...
...
src/main/webapp/WEB-INF/views/manifest/edit.jsp
查看文件 @
9f3f150
...
...
@@ -1013,6 +1013,17 @@ $(function(){
function
checkNo
(
content
){
if
(
content
)
{
var
reg
=
/^
(\d{3})(
-
)(\d{8})
$/
;
var
flag
=
content
.
match
(
reg
);
if
(
flag
==
null
){
layui
.
use
(
'layer'
,
function
(){
var
layer
=
layui
.
layer
;
parent
.
layer
.
alert
(
'主单号格式错误,请检查运单号位数及格式,例如:172-30937185'
,
{
icon
:
0
});
$
(
"#waybill"
).
focus
();
});
return
;
}
content
=
content
.
replace
(
/ /g
,
''
);
$
(
"#waybill"
).
val
(
content
);
...
...
请
注册
或
登录
后发表评论