fix:coding798使用数量默认为0
This commit is contained in:
parent
a9a5211418
commit
bfca9d02bd
|
|
@ -55,7 +55,7 @@
|
||||||
<el-input ref="codeInput" v-model="wm_in" clearable @change="formWminChange(wm_in)"></el-input>
|
<el-input ref="codeInput" v-model="wm_in" clearable @change="formWminChange(wm_in)"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="使用数量" prop="count_use">
|
<el-form-item label="使用数量" prop="count_use">
|
||||||
<el-input-number ref="codeInput" v-model="form.count_use" clearable></el-input-number>
|
<el-input-number ref="codeInput" v-model="form.count_use" :min="0" clearable></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="主要批次" v-if="!isfix">
|
<el-form-item label="主要批次" v-if="!isfix">
|
||||||
<el-select
|
<el-select
|
||||||
|
|
@ -89,7 +89,7 @@ const defaultForm = {
|
||||||
mtask: "",
|
mtask: "",
|
||||||
batch: "",
|
batch: "",
|
||||||
wm_in: "",
|
wm_in: "",
|
||||||
count_use: 1,
|
count_use: 0,
|
||||||
note:'',
|
note:'',
|
||||||
parent: "",
|
parent: "",
|
||||||
};
|
};
|
||||||
|
|
@ -181,7 +181,7 @@ export default {
|
||||||
this.visible = true;
|
this.visible = true;
|
||||||
this.form.mtask = "";
|
this.form.mtask = "";
|
||||||
this.wm_in = "";
|
this.wm_in = "";
|
||||||
this.form.count_use = "";
|
this.form.count_use = 0;
|
||||||
this.form.parent = "";
|
this.form.parent = "";
|
||||||
},
|
},
|
||||||
getMlogbIn(){
|
getMlogbIn(){
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@
|
||||||
<el-form-item label="领用数量">
|
<el-form-item label="领用数量">
|
||||||
<el-input-number
|
<el-input-number
|
||||||
v-model="form.count_use"
|
v-model="form.count_use"
|
||||||
:min="1"
|
:min="0"
|
||||||
controls-position="right"
|
controls-position="right"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
@ -85,7 +85,7 @@ const defaultForm = {
|
||||||
mlog: "",
|
mlog: "",
|
||||||
mtask: "",
|
mtask: "",
|
||||||
batch: "",
|
batch: "",
|
||||||
count_use: "",
|
count_use: 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
@ -147,7 +147,7 @@ export default {
|
||||||
this.visible = true;
|
this.visible = true;
|
||||||
this.form.mtask = "";
|
this.form.mtask = "";
|
||||||
this.form.wm_in = "";
|
this.form.wm_in = "";
|
||||||
this.form.count_use = "";
|
this.form.count_use = 0;
|
||||||
this.form.parent = "";
|
this.form.parent = "";
|
||||||
},
|
},
|
||||||
getMtask() {
|
getMtask() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue