| | |
| | | :visible.sync="dialogVisible" |
| | | width="850px" |
| | | class="dialogVisible" |
| | | :top="dialogTitle==='自制报工'?'5vh':'15vh'" |
| | | :top="dialogTitle==='自制报工'?'15vh':'15vh'" |
| | | :close-on-click-modal="false" |
| | | @close="handleClose" |
| | | @closed="handleClose" |
| | |
| | | v-waves |
| | | type="primary" |
| | | :loading="$store.state.app.buttonIsDisabled" |
| | | :disabled="$store.state.app.buttonIsDisabled" |
| | | @click="badDialogVisibleConfirm " |
| | | :disabled="$store.state.app.buttonIsDisabled||badTableDataDialog.length===0||badTableDataDialog.find(i=>i.isVisible===1)" |
| | | @click="badDialogVisibleConfirm" |
| | | >保 存/打 印</el-button> |
| | | </div> |
| | | </span> |
| | |
| | | |
| | | startqtySum: '', // 不能超过的数值 |
| | | |
| | | reckway: 'group', // 计件方式 |
| | | reckway: 'person', // 计件方式 |
| | | |
| | | operation: getCookie('navTabId'), // 报工人(收料人) |
| | | remarks: '', // 备注 |
| | |
| | | } |
| | | const res = await MesOrderStepStart(data) |
| | | if (res.code === '200' && res.count === 0) { |
| | | // console.log(res, 777) |
| | | // if (parseFloat(res.data.startqty) === 0) { |
| | | // return this.$message.error('') |
| | | // } |
| | | await this.ZZstart(res.data) |
| | | } |
| | | if (res.code === '200' && res.count === 1) { |
| | |
| | | |
| | | // this.dialogForm.inbarcode = '' // 入库码 |
| | | |
| | | this.dialogForm.reckway = 'group' |
| | | this.dialogForm.reckway = 'person' |
| | | |
| | | this.dialogForm.remarks = '' // 备注 |
| | | this.dialogForm.operation = getCookie('navTabId') // 报工人(收料人) |
| | |
| | | this.dialogVisible = false |
| | | this.$message.success('收料成功!') |
| | | // if (this.dialogForm.nextstepcode === '') { |
| | | // this.WXprint2(this.OperationArr.find(item => item.usercode === this.dialogForm.inuser).username) |
| | | this.WXprint2(this.OperationArr.find(item => item.usercode === getCookie('navTabId')).username) |
| | | this.dialogVisible2 = true |
| | | // this.WXprint2(this.OperationArr.find(item => item.usercode === getCookie('navTabId')).username) |
| | | // this.dialogVisible2 = true |
| | | // } |
| | | this.tabClick() |
| | | this.$store.state.app.buttonIsDisabled = false |
| | |
| | | this.$message.success('报工成功!') |
| | | // this.dialogForm.nextstepcode==='' //当为空的时候 代表是末道工序 |
| | | // if (this.dialogForm.nextstepcode !== '') { |
| | | this.ZZprint2(this.OperationArr.find(item => item.usercode === getCookie('navTabId')).username) |
| | | this.dialogVisible2 = true |
| | | // this.ZZprint2(this.OperationArr.find(item => item.usercode === getCookie('navTabId')).username) |
| | | // this.dialogVisible2 = true |
| | | // } |
| | | this.tabClick() |
| | | this.$store.state.app.buttonIsDisabled = false |