Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
4b82ad7f
Commit
4b82ad7f
authored
Sep 09, 2019
by
季圣华
Browse files
修复订单转采购或销售单的bug
parent
739e1753
Changes
1
Hide whitespace changes
Inline
Side-by-side
erp_web/js/pages/materials/in_out.js
View file @
4b82ad7f
...
...
@@ -1107,13 +1107,14 @@
//如果是订单跳转到采购或销售
if(pageType === "skip") {
var skipList = $("#depotHeadFM .datagrid-body tr");
var input = ".datagrid-editable-input";
//逐条自动点击每行数据
skipList.each(function (i) {
setTimeout(function () {
skipList
.
eq
(
i
).
find
(
"
[field='
Stoc
k']
"
).
click
()
;
},(
i
+
1
)
*
10
00
);
skipList.eq(i).find("[field='
Remar
k']").click()
.find(input).val("来自订单"); //此处为确保订单转销售成功,勿删
},(i+1)*
2
00);
});
}
}
}
},
error:function() {
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment