| | |
| | | <el-table-column prop="unstackingMode" width="100" label="拆垛方式" show-overflow-tooltip=""> |
| | | <template #default="scope"> |
| | | <span v-if="scope.row.unstackingMode"> |
| | | <el-tag :type="dv('UnstackingModeEnum', scope.row.unstackingMode)?.tagType"> {{ dv('UnstackingModeEnum', |
| | | <el-tag :type="dv('UnstackingModeEnum', scope.row.unstackingMode)?.tagType"> {{ |
| | | dv('UnstackingModeEnum', |
| | | scope.row.unstackingMode)?.name }}</el-tag> |
| | | </span> |
| | | </template> |
| | |
| | | <ModifyRecord :data="scope.row" /> |
| | | </template> |
| | | </el-table-column> --> |
| | | <el-table-column prop="操作" label="操作" width="200" align="center" fixed="right" show-overflow-tooltip="" |
| | | <el-table-column prop="操作" label="操作" width="150" align="center" fixed="right" show-overflow-tooltip="" |
| | | v-if="auth('wcsTask:complete') || auth('wcsTask:cancell')"> |
| | | <template #default="scope"> |
| | | <template v-if="scope.row.status <= 1"> |
| | |
| | | <el-button icon="ele-Close" size="small" text="" type="primary" @click="cancellTask(scope.row)" |
| | | v-auth="'wcsTask:cancell'"> 取消 </el-button> |
| | | </template> |
| | | <template v-if="scope.row.status == 2"> |
| | | <template v-if="scope.row.status == 2 && scope.row.origin == 'WMS'"> |
| | | <el-button icon="ele-Upload" size="small" text="" type="primary" @click="uploadTask(scope.row)" |
| | | v-auth="'wcsTask:cancell'"> 上传 </el-button> |
| | | </template> |