|
|
|
@ -279,6 +279,9 @@ |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'上道派工单:'"> |
|
|
|
<el-input v-model="previousSeqNo" type="number" style="width: 130px;" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-footer style="height:40px;margin-top: 20px;text-align:center"> |
|
|
|
<el-button type="primary" @click="startSeqNo()">开始</el-button> |
|
|
|
@ -622,6 +625,7 @@ |
|
|
|
moldQty:'', |
|
|
|
}, |
|
|
|
scanSeqNo:'', |
|
|
|
previousSeqNo:'', |
|
|
|
stopModalFlag:false, |
|
|
|
continueModalFlag:false, |
|
|
|
qty1:'', |
|
|
|
@ -983,6 +987,7 @@ |
|
|
|
openStart(){ |
|
|
|
this.scanSeqNo=''; |
|
|
|
this.tvId=''; |
|
|
|
this.previousSeqNo=''; |
|
|
|
this.startModalFlag=true; |
|
|
|
this.$nextTick(() => { this.$refs.start.focus();}) |
|
|
|
}, |
|
|
|
@ -1219,11 +1224,13 @@ |
|
|
|
let inData={ |
|
|
|
username:this.$store.state.user.name, |
|
|
|
seqNo:this.scanSeqNo, |
|
|
|
previousSeqNo:this.previousSeqNo, |
|
|
|
tvId:this.tvId, |
|
|
|
} |
|
|
|
startSeqNo(inData).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.scanSeqNo=''; |
|
|
|
this.previousSeqNo=''; |
|
|
|
this.startModalFlag=false; |
|
|
|
this.$message({ |
|
|
|
message: '操作成功', |
|
|
|
@ -1234,6 +1241,7 @@ |
|
|
|
}) |
|
|
|
} else { |
|
|
|
this.scanSeqNo=''; |
|
|
|
this.previousSeqNo=''; |
|
|
|
this.$alert(data.msg, '错误', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
}) |
|
|
|
|