| | |
| | | this.http.get(`/api/Task/CompleteTaskAsync?taskNum=${taskNum}`, {}, "正在完成任务").then((res) => { |
| | | //示例:调用后台接口 |
| | | if (res.status) { |
| | | this.$Message.success('任务完成') |
| | | this.$Message.success('任务完成'); |
| | | this.refresh(); |
| | | } else { |
| | | this.$Message.error(res.message) //错误提示 |
| | | this.refresh(); |
| | | } |
| | | }) |
| | | } |
| | |
| | | ]); |
| | | const columns = ref([{ field: 'TaskId', title: '主键', type: 'string', width: 110, hidden: true, readonly: true, require: true, align: 'left' }, |
| | | { field: 'taskNum', title: '任务号', type: 'int', width: 110, align: 'left', sort: true }, |
| | | { field: 'palletCode', title: '托盘号', type: 'string', width: 150, align: 'left' }, |
| | | { field: 'pnboundNo', title: '单据号', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'palletCode', title: '托盘号', type: 'string', width: 180, align: 'left' }, |
| | | { field: 'pnboundNo', title: '单据号', type: 'string', width: 110, align: 'left',hidden:true }, |
| | | { field: 'groupID', title: '库存ID', type: 'int', width: 110, hidden: true, align: 'left' }, |
| | | { field: 'groupDetailId', title: '组盘明细ID', type: 'int', width: 110, hidden: true, align: 'left' }, |
| | | { field: 'roadway', title: '巷道', type: 'string', width: 110, align: 'left' }, |