新增明细 加判断条件
计数页面修改 散料入新增条件 出库单据接口 修改判断条件
This commit is contained in:
1 parent
4334683c6f
commit
1365920fee
15 files changed
+66
-32
No files matched your search
@@ -41,7 +41,7 @@
|
||||
<script>
|
||||
var str = "";
|
||||
@{
|
||||
<text>str = @Model.Entity.ID; </text>
|
||||
<text>str = @Model.Entity.ID; </text>
|
||||
}
|
||||
|
||||
var app = new Vue({
|
||||
@@ -81,13 +81,14 @@ var app = new Vue({
|
||||
// 绑定
|
||||
onSubmit() {
|
||||
var _this = this;
|
||||
console.log(this.form);
|
||||
|
||||
var qty = _this.form.qty;
|
||||
if (qty == "")
|
||||
qty = _this.qtyPlaceholder;
|
||||
// 提交已绑定数据
|
||||
$.ajax({
|
||||
type: "post",
|
||||
dataType: "json",
|
||||
data: { code: str, uniqueCode: _this.form.uniqueCode, qty: _this.form.qty },
|
||||
data: { code: str, uniqueCode: _this.form.uniqueCode, qty: qty },
|
||||
url: "/receipt/ReceiptHeader/CountCommit",
|
||||
success: function (json) {
|
||||
if (json.Code == 200) {
|
||||
|
||||
Reference in new issue
Block a user