配件入库修改中文名,附件名
This commit is contained in:
parent
4d3d02c6f3
commit
2ddd165f63
|
|
@ -1,4 +1,4 @@
|
||||||
let idParam, objParam, fileList = new Array(), imgListUp = new Array();
|
let idParam, objParam, fileList = new Array(), imgListUp = new Array(),userName;
|
||||||
let form, laydate, layer, upload, table, util;
|
let form, laydate, layer, upload, table, util;
|
||||||
let pageNum = 1, tableIns; // 定义分页
|
let pageNum = 1, tableIns; // 定义分页
|
||||||
let jjDataArr = []; // 入库配件数据
|
let jjDataArr = []; // 入库配件数据
|
||||||
|
|
@ -13,8 +13,24 @@ function setParams(obj) {
|
||||||
upload = layui.upload;
|
upload = layui.upload;
|
||||||
table = layui.table;
|
table = layui.table;
|
||||||
util = layui.util;
|
util = layui.util;
|
||||||
|
|
||||||
var userData = JSON.parse(sessionStorage.getItem("us"));
|
var userData = JSON.parse(sessionStorage.getItem("us"));
|
||||||
$('#inputUser').val(userData.username);
|
var userId = userData.id;
|
||||||
|
let params = {
|
||||||
|
encryptedData: JSON.stringify({
|
||||||
|
'userId': userId
|
||||||
|
})
|
||||||
|
};
|
||||||
|
let url = dataUrl + 'backstage/partInput/getUserName';
|
||||||
|
ajaxRequest(url, "POST", params, false, function () {
|
||||||
|
}, function (result) {
|
||||||
|
if (result.code === 200) {
|
||||||
|
$('#inputUser').val(result.data.userName);
|
||||||
|
}
|
||||||
|
}, function (xhr, status, error) {
|
||||||
|
errorFn(xhr, status, error)
|
||||||
|
}, null);
|
||||||
|
// $('#inputUser').val(userData.username);
|
||||||
laydate.render({
|
laydate.render({
|
||||||
elem: '#inputDay'
|
elem: '#inputDay'
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@
|
||||||
<div id="file-box">
|
<div id="file-box">
|
||||||
<div class="title layout">
|
<div class="title layout">
|
||||||
<span style="font-weight:700;text-decoration:none;color:#409EFF;">▋</span>
|
<span style="font-weight:700;text-decoration:none;color:#409EFF;">▋</span>
|
||||||
<p>附件文档</p>
|
<p>供货方货单文档</p>
|
||||||
</div>
|
</div>
|
||||||
<div id="file-table-box">
|
<div id="file-table-box">
|
||||||
<table class="classTable" id="file-table">
|
<table class="classTable" id="file-table">
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
</form>
|
</form>
|
||||||
<div class="layui-upload" style="padding: 0 39px;">
|
<div class="layui-upload" style="padding: 0 39px;">
|
||||||
<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;width: auto;border: none;">
|
<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;width: auto;border: none;">
|
||||||
<p>附件证明<span class="required">*</span></p>
|
<p>供货方货单<span class="required">*</span></p>
|
||||||
<div class="layui-upload-list uploader-list" style="overflow: auto;" id="uploader-list"></div>
|
<div class="layui-upload-list uploader-list" style="overflow: auto;" id="uploader-list"></div>
|
||||||
<div id="test2" style="margin-left: 10px;">
|
<div id="test2" style="margin-left: 10px;">
|
||||||
<img src="../../../images/add.png">
|
<img src="../../../images/add.png">
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@
|
||||||
</form>
|
</form>
|
||||||
<div class="layui-upload" style="padding: 0 39px;">
|
<div class="layui-upload" style="padding: 0 39px;">
|
||||||
<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;width: auto;border: none;">
|
<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;width: auto;border: none;">
|
||||||
<p>附件证明<span class="required">*</span></p>
|
<p>供货方货单<span class="required">*</span></p>
|
||||||
<div class="layui-upload-list uploader-list" style="overflow: auto;" id="uploader-list"></div>
|
<div class="layui-upload-list uploader-list" style="overflow: auto;" id="uploader-list"></div>
|
||||||
<div id="test2" style="margin-left: 10px;">
|
<div id="test2" style="margin-left: 10px;">
|
||||||
<img src="../../../images/add.png">
|
<img src="../../../images/add.png">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue