新增明细 加判断条件
计数页面修改 散料入新增条件 出库单据接口 修改判断条件
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) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<el-form ref="form" :model="form" label-width="100px">
|
||||
<el-row>
|
||||
<el-col :span="16">
|
||||
<el-form-item label="散料盒编码">
|
||||
<el-form-item label="散料盒编码" prop="code">
|
||||
<el-input v-model="form.code"
|
||||
placeholder="请扫描散料盒编码"
|
||||
@@change="scanBox">
|
||||
@@ -224,7 +224,7 @@
|
||||
// 重置
|
||||
resetForm(formName) {
|
||||
this.$refs[formName].resetFields();
|
||||
this.boxSize = [];
|
||||
this.form.code = "";
|
||||
this.bindingData = [];
|
||||
},
|
||||
// 选择尺寸后
|
||||
|
||||
Reference in new issue
Block a user