|
@@ -60,7 +60,7 @@
|
|
|
<div class="layui-input-inline">
|
|
<div class="layui-input-inline">
|
|
|
<!-- <input type="hidden" id="mlId" class="layui-input">-->
|
|
<!-- <input type="hidden" id="mlId" class="layui-input">-->
|
|
|
<!-- <input type="hidden" id="mlCode" class="layui-input">-->
|
|
<!-- <input type="hidden" id="mlCode" class="layui-input">-->
|
|
|
- <input type="text" id="ml" name="ml" lay-filter="ml" class="layui-input">
|
|
|
|
|
|
|
+ <input type="text" id="ml" name="ml" lay-verify="required" lay-reqtext="档案门类不能为空" lay-filter="ml" class="layui-input">
|
|
|
<!-- <select name="ml" id="ml" lay-filter="ml" lay-verify="required" lay-reqtext="档案门类不能为空">-->
|
|
<!-- <select name="ml" id="ml" lay-filter="ml" lay-verify="required" lay-reqtext="档案门类不能为空">-->
|
|
|
<!-- <option value="">请选择档案门类</option>-->
|
|
<!-- <option value="">请选择档案门类</option>-->
|
|
|
<!-- </select>-->
|
|
<!-- </select>-->
|
|
@@ -409,7 +409,9 @@
|
|
|
|
|
|
|
|
// 保存方法
|
|
// 保存方法
|
|
|
let save = function (data, method) {
|
|
let save = function (data, method) {
|
|
|
- data.ml = sl
|
|
|
|
|
|
|
+ if (sl){
|
|
|
|
|
+ data.ml = sl
|
|
|
|
|
+ }
|
|
|
http.post(id == '' ? 'archive/archive/insert' : 'archive/archive/update', data, true, function (res) {
|
|
http.post(id == '' ? 'archive/archive/insert' : 'archive/archive/update', data, true, function (res) {
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
|
let index = layer.alert('保存成功!', {
|
|
let index = layer.alert('保存成功!', {
|
|
@@ -632,9 +634,9 @@
|
|
|
}else {
|
|
}else {
|
|
|
$("#file_tab_list").hide();
|
|
$("#file_tab_list").hide();
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
if (!bgqxappend) {
|
|
if (!bgqxappend) {
|
|
|
let ml = $("#ml").val()
|
|
let ml = $("#ml").val()
|
|
|
|
|
+ debugger
|
|
|
// 加载保管期限
|
|
// 加载保管期限
|
|
|
http.get('system/dict/selectDictByCode', {code: ml === 'WS' ? 'BAOGUANQIXIANYI' : 'BAOGUANQIXIANER'}, false, function (res) {
|
|
http.get('system/dict/selectDictByCode', {code: ml === 'WS' ? 'BAOGUANQIXIANYI' : 'BAOGUANQIXIANER'}, false, function (res) {
|
|
|
let html = '';
|
|
let html = '';
|