提交 e6bf3556 编写于 作者: Skyeye云's avatar Skyeye云

生产计划单列表修改

上级 431bb912
......@@ -40,7 +40,6 @@ layui.config({
textool.init({eleId: 'remark', maxlength: 200});
//回显数据
AjaxPostUtil.request({url: flowableBasePath + "erpproduction003", params: {id: parent.rowId}, type: 'json', method: "GET", callback: function (json) {
// 商品信息
erpOrderUtil.chooseProductMation = {
......
......@@ -6,10 +6,8 @@ layui.config({
}).extend({
window: 'js/winui.window'
}).define(['window', 'table', 'jquery', 'winui', 'form'], function (exports) {
winui.renderColor();
var index = parent.layer.getFrameIndex(window.name);
var $ = layui.$,
form = layui.form,
table = layui.table;
......@@ -18,8 +16,6 @@ layui.config({
var s = '生产计划单选择规则:1.单选,双击指定行数据即可选中;2.已审批通过的未完成的生产计划单。如没有查到要选择的单据,请检查单据信息是否满足当前规则。';
$("#showInfo").html(s);
initTable();
function initTable(){
table.render({
id: 'messageTable',
elem: '#messageTable',
......@@ -78,9 +74,8 @@ layui.config({
});
form.render();
}
//详情
// 详情
function details(data) {
rowId = data.id;
_openNewWindows({
......@@ -92,9 +87,7 @@ layui.config({
}});
}
form.on('submit(formSearch)', function (data) {
if (winui.verifyForm(data.elem)) {
refreshTable();
}
......
......@@ -6,10 +6,8 @@ layui.config({
}).extend({
window: 'js/winui.window'
}).define(['window', 'table', 'jquery', 'winui', 'form'], function (exports) {
winui.renderColor();
var index = parent.layer.getFrameIndex(window.name);
var $ = layui.$,
form = layui.form,
table = layui.table;
......@@ -20,8 +18,6 @@ layui.config({
var chooseMation = {};
initTable();
function initTable(){
table.render({
id: 'messageTable',
elem: '#messageTable',
......@@ -71,7 +67,6 @@ layui.config({
});
form.render();
}
// 详情
function details(data) {
......
......@@ -163,11 +163,11 @@
</thead>
<tbody id="tBody">
{{#each childList}}
<tr rowid="{{productId}}">
<td id="name{{productId}}">{{productName}}</td>
<td id="model{{productId}}">{{productModel}}</td>
<td>{{categoryName}}</td>
<td>{{typeName}}</td>
<tr rowid="{{materialId}}">
<td id="name{{materialId}}">{{materialName}}</td>
<td id="model{{materialId}}">{{materialModel}}</td>
<td>{{materialCategoryName}}</td>
<td>{{materialTypeName}}</td>
<td>
{{#each procedureMationList}}
<span class="layui-badge layui-bg-gray">{{number}}</span>{{procedureName}}<br>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册