This commit is contained in:
liushuai
2020-04-29 17:49:18 +08:00
parent 8edf3ea21f
commit c11f6217ce
9 changed files with 154 additions and 111 deletions

View File

@@ -104,9 +104,9 @@
:value="item.value"/>
</el-select>
</el-form-item>
<el-form-item label="人员编号" prop="password" label-width="100px" size="small">
<el-input v-model="form3.password" size="small" placeholder="人员编号" style="width: 200px"/>
</el-form-item>
<!--<el-form-item label="人员编号" prop="password" label-width="100px" size="small">-->
<!--<el-input v-model="form3.password" size="small" placeholder="人员编号" style="width: 200px"/>-->
<!--</el-form-item>-->
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click="dialogFormVisible3=false">取消</el-button>
@@ -136,11 +136,11 @@ export default {
form3: {
outTypeValue: '',
department: '',
password: '',
// password: '',
DirectNote: ''
},
rules3: {
password: [{ required: true, message: '请输入' }],
// password: [{ required: true, message: '请输入' }],
outTypeValue: [{ required: true, message: '请选择' }]
},
multipleSelection1: []
@@ -227,7 +227,7 @@ export default {
// 领料确认
inputPassword() {
this.form3.outTypeValue = 21
this.form3.password = ''
// this.form3.password = ''
this.selectDepartment()
this.departments = []
this.buttonDisable = false
@@ -268,7 +268,7 @@ export default {
this.outNumber.push(this.multipleSelection1[i].出库数量)
}
}
if (Number(this.form3.password) === Number(this.form3.DirectNote)) {
if (this.form3.DirectNote) {
for (let i = 0; i < this.departments.length; i++) {
if (this.form3.department === this.departments[i].value) {
this.department111 = this.departments[i].label
@@ -286,7 +286,7 @@ export default {
})
} else {
this.buttonDisable = false
this.$message.error('人员编号错误')
this.$message.error('请选择领料人')
}
},
handleSizeChange1(val) {