Browse Source

0412 新看板

master
ruanqi 2 years ago
parent
commit
3fc0ae7160
  1. 8
      src/views/modules/production/generateReport.vue

8
src/views/modules/production/generateReport.vue

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

Loading…
Cancel
Save