增加移库预留空位判断

This commit is contained in:
FT577-Server
2026-10-13 09:08:02 +08:00
parent c642880893
commit a4331cc303
7 changed files with 72 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
import request from '@/utils/request'
// 查询作业子信息列表
export function listJobdetail(query) {
export function listJobDetail(query) {
return request({
url: '/in/jobdetail/list',
method: 'get',

View File

@@ -176,6 +176,11 @@
<!-- <el-table-column label="出库数量" align="center" prop="outQuantity" width="100" />-->
<!-- <el-table-column label="客户名称" align="center" prop="customerName" width="120" />-->
<el-table-column label="供应商名称" align="center" prop="supplierName" width="120" />
<el-table-column label="状态" align="center" prop="status" width="100">
<template slot-scope="scope">
<dict-tag :options="dict.type.stock_status" :value="scope.row.status"/>
</template>
</el-table-column>
<!-- <el-table-column label="入库时间" align="center" prop="inDate" width="160">-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ parseTime(scope.row.inDate, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>-->
@@ -202,11 +207,11 @@
<script>
import { listJob, cancelJob, completeJob } from "@/api/in/job"
import { listJobdetail } from "@/api/in/jobdetail"
import { listJobDetail } from "@/api/in/jobdetail"
export default {
name: "Job",
dicts: ['mydo_job_execution_phase', 'mydo_job_status'],
dicts: ['mydo_job_execution_phase', 'mydo_job_status', 'stock_status'],
data() {
return {
// 遮罩层
@@ -321,7 +326,7 @@ export default {
getJobDetailList() {
if (!this.detailQueryParams.jobId) return
this.detailLoading = true
listJobdetail(this.detailQueryParams).then(response => {
listJobDetail(this.detailQueryParams).then(response => {
this.jobDetailList = response.rows || []
this.detailTotal = response.total || 0
this.detailLoading = false