| | |
| | | v-if="mesSetting.workOrder" |
| | | class="el-icon-files" |
| | | style="cursor: pointer;color:#42b983;margin-right: 15px" |
| | | @click.stop="pre(row,1)" |
| | | @click="pre(row,1)" |
| | | /> |
| | | </el-tooltip> |
| | | |
| | |
| | | <i |
| | | class="el-icon-edit-outline" |
| | | :style="{color:$store.state.settings.theme}" |
| | | @click.stop="edit('edit',row)" |
| | | @click="edit('edit',row)" |
| | | /> |
| | | </el-tooltip> |
| | | |
| | |
| | | :style="{color:$store.state.settings.theme}" |
| | | class="el-icon-printer" |
| | | style="cursor: pointer;margin-right: 15px" |
| | | @click.stop="handlePrint(row.wo_code,row.saleOrderCod,row)" |
| | | @click="handlePrint(row.wo_code,row.saleOrderCod,row)" |
| | | /> |
| | | </el-tooltip> |
| | | |
| | |
| | | class="el-icon-view" |
| | | style="cursor: pointer;" |
| | | :style="{color:$store.state.settings.theme}" |
| | | @click.stop="edit('view',row)" |
| | | @click="edit('view',row)" |
| | | /> |
| | | </el-tooltip> |
| | | |
| | |
| | | <el-button v-waves @click="dialogVisibleBackPreview">返 回</el-button> |
| | | <!-- <el-button v-waves v-if="operation==='add'" type="primary" @click="dialogVisibleConfirm">确 定</el-button>--> |
| | | <!-- <el-button v-waves type="primary" @click="dialogVisibleConfirm">确 定/打 印</el-button>--> |
| | | <el-button v-waves v-print="printObj" type="primary">打 印</el-button> |
| | | <el-button v-waves v-print="printObj" type="primary" @click="sendMesOrderDistribution">打 印</el-button> |
| | | </div> |
| | | </span> |
| | | </el-dialog> |
| | |
| | | console.log('执行了打印') |
| | | } |
| | | }, |
| | | |
| | | sendMesOrderWoCode: '', |
| | | formApprove: { |
| | | m_po: '', // 源单单号 |
| | | mesordercode: '', |
| | |
| | | // }) |
| | | }, |
| | | methods: { |
| | | // 打印的时候执行派发事件 |
| | | sendMesOrderDistribution() { |
| | | MesOrderDistribution([this.sendMesOrderWoCode]).then(res => { |
| | | if (res.code === '200') { |
| | | this.$notify.success('派发成功!') |
| | | this.getMesOrderSearch() |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | mesqtyInputChange(val) { |
| | | if (this.stepTableData && this.stepTableData.length > 0) { |
| | | this.stepTableData.forEach(i => { |
| | |
| | | const data2 = { |
| | | mesordercode: wo_code || this.dialogForm.mesordercode |
| | | } |
| | | this.sendMesOrderWoCode = wo_code || this.dialogForm.mesordercode |
| | | MesOrderPrintSearch(data2).then(res2 => { |
| | | if (res2.code === '200') { |
| | | this.dialogVisibleApprove = true |