|
@@ -83,7 +83,7 @@
|
83
|
83
|
<div id="sfysdiv">
|
84
|
84
|
<label class="layui-form-label required" style="width: 10%">验收时间</label>
|
85
|
85
|
<div class="layui-input-inline" style="width: 25%">
|
86
|
|
- <input type="text" id="yssj" name="yssj" autocomplete="off" class="layui-input" lay-verify="required" lay-reqtext="招标批次不能为空!" th:value="${contract.yssj}">
|
|
86
|
+ <input type="text" id="yssj" name="yssj" autocomplete="off" class="layui-input" lay-verify="required" lay-reqtext="验收时间不能为空!" th:value="${contract.yssj}">
|
87
|
87
|
</div>
|
88
|
88
|
|
89
|
89
|
</div>
|
|
@@ -281,6 +281,8 @@
|
281
|
281
|
var userPostName = [[${userPostName}]]
|
282
|
282
|
var rwsqssj = [[${rwsqssj}]]
|
283
|
283
|
var rwswcsj = [[${rwswcsj}]]
|
|
284
|
+ var sfysid = [[${contract.sfys}]]
|
|
285
|
+ var sfsxtndwid = [[${contract.sfsxtndw}]]
|
284
|
286
|
|
285
|
287
|
console.log(spzt)
|
286
|
288
|
//申请时间
|
|
@@ -573,6 +575,23 @@
|
573
|
575
|
|
574
|
576
|
// 监听确认按钮(常规)
|
575
|
577
|
form.on('submit(saveBtn)', function (data) {
|
|
578
|
+ var sfys = document.getElementById('sfys');
|
|
579
|
+ var sfsxtndw = document.getElementById('sfsxtndw');
|
|
580
|
+ if (sfys.value != 0 && sfys.value != 1){
|
|
581
|
+ if (sfysid != null && sfysid != ''){
|
|
582
|
+ data.field.sfys = sfysid;
|
|
583
|
+ }else {
|
|
584
|
+ data.field.sfys = 0;
|
|
585
|
+ }
|
|
586
|
+ }
|
|
587
|
+ if(sfsxtndw != 0 && sfsxtndw != 1){
|
|
588
|
+ if (sfsxtndwid != null && sfsxtndwid != ''){
|
|
589
|
+ data.field.sfsxtndw = sfsxtndwid;
|
|
590
|
+ }else {
|
|
591
|
+ data.field.sfsxtndw = 0;
|
|
592
|
+ }
|
|
593
|
+ }
|
|
594
|
+
|
576
|
595
|
if (spzt !=='未锁定'&&userPostName !='科技项目管理专责'&&userPostName !='科技项目管理专责2'){
|
577
|
596
|
Message.warning("该合同状态为锁定中,只能修改付款计划,不可修改常规信息!", 2000);
|
578
|
597
|
return false;
|