前端问题修改

This commit is contained in:
cwchen 2025-01-22 16:26:26 +08:00
parent 234a9eef73
commit b60f07eac2
8 changed files with 11 additions and 11 deletions

View File

@ -49,7 +49,7 @@ function setUpload(uploadNum) {
choose: function (obj) { choose: function (obj) {
let length = $('#uploader-list' + uploadNum + '>.file-iteme').length; let length = $('#uploader-list' + uploadNum + '>.file-iteme').length;
if (uploadNum === 6 && length >= 5) { if (uploadNum === 6 && length >= 5) {
return layer.msg('最多上传5个车辆保险', { icon: 7 }); return layer.msg('最多上传5个其他操作证', { icon: 7 });
} }
uploadObj.config.elem.next()[0].value = ''; uploadObj.config.elem.next()[0].value = '';
let num = 0; let num = 0;

View File

@ -415,9 +415,9 @@ function getFormData() {
function chooseCarOrUser(type, formName) { function chooseCarOrUser(type, formName) {
console.error(formName); console.error(formName);
let title = '车辆选择' let title = '车辆选择'
if (type === 2) { if (type === 2 || type === 3) {
title = '驾驶员选择'; title = '驾驶员选择';
} else if (type === 3) { } else if (type === 4) {
title = '操作员选择'; title = '操作员选择';
} }
let params = { let params = {

View File

@ -411,9 +411,9 @@ function getFormData() {
function chooseCarOrUser(type, formName) { function chooseCarOrUser(type, formName) {
console.error(formName); console.error(formName);
let title = '车辆选择' let title = '车辆选择'
if (type === 2) { if (type === 2 || type === 3) {
title = '驾驶员选择'; title = '驾驶员选择';
} else if (type === 3) { } else if (type === 4) {
title = '操作员选择'; title = '操作员选择';
} }
let params = { let params = {

View File

@ -493,9 +493,9 @@ function getFormData() {
function chooseCarOrUser(type, formName) { function chooseCarOrUser(type, formName) {
console.error(formName); console.error(formName);
let title = '车辆选择' let title = '车辆选择'
if (type === 2) { if (type === 2 || type === 3) {
title = '驾驶员选择'; title = '驾驶员选择';
} else if (type === 3) { } else if (type === 4) {
title = '操作员选择'; title = '操作员选择';
} }
let params = { let params = {

View File

@ -71,7 +71,7 @@
</div> </div>
</div> </div>
<div class="layui-inline"> <div class="layui-inline">
<label class="layui-form-label required" style="width: 100px !important;">备注</label> <label class="layui-form-label required" style="width: 100px !important;margin-top: 30px;">备注</label>
<div class="layui-input-inline" style="width: 464px;"> <div class="layui-input-inline" style="width: 464px;">
<textarea placeholder="请输入备注" lay-verify="required" id="remark" name="remark" <textarea placeholder="请输入备注" lay-verify="required" id="remark" name="remark"
class="layui-textarea" maxLength="250" lay-affix="clear"></textarea> class="layui-textarea" maxLength="250" lay-affix="clear"></textarea>

View File

@ -71,7 +71,7 @@
</div> </div>
</div> </div>
<div class="layui-inline"> <div class="layui-inline">
<label class="layui-form-label required" style="width: 100px !important;">备注</label> <label class="layui-form-label required" style="width: 100px !important;margin-top: 30px;">备注</label>
<div class="layui-input-inline" style="width: 464px;"> <div class="layui-input-inline" style="width: 464px;">
<textarea placeholder="请输入备注" lay-verify="required" id="remark" name="remark" <textarea placeholder="请输入备注" lay-verify="required" id="remark" name="remark"
class="layui-textarea" maxLength="250" lay-affix="clear"></textarea> class="layui-textarea" maxLength="250" lay-affix="clear"></textarea>

View File

@ -74,7 +74,7 @@
</div> </div>
</div> </div>
<div class="layui-inline"> <div class="layui-inline">
<label class="layui-form-label required" style="width: 100px !important;">备注</label> <label class="layui-form-label required" style="width: 100px !important;margin-top: 30px;">备注</label>
<div class="layui-input-inline" style="width: 464px;"> <div class="layui-input-inline" style="width: 464px;">
<textarea placeholder="请输入备注" lay-verify="required" id="remark" name="remark" <textarea placeholder="请输入备注" lay-verify="required" id="remark" name="remark"
class="layui-textarea" maxLength="250" lay-affix="clear"></textarea> class="layui-textarea" maxLength="250" lay-affix="clear"></textarea>

View File

@ -20,7 +20,7 @@
<div id="data-overview" class="layout"> <div id="data-overview" class="layout">
<div class="data-detail layout"> <div class="data-detail layout">
<p>工程数量</p> <p>工程数量</p>
<p><span id="num">0</span><span></span></p> <p><span id="num">0</span><span></span></p>
</div> </div>
<div class="data-detail layout"> <div class="data-detail layout">
<p>需求计划数量</p> <p>需求计划数量</p>