|
|
@@ -12,6 +12,9 @@
|
|
|
{{ statusText(formData.verifyStatus) }}
|
|
|
</el-tag>
|
|
|
</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="当前审批人">
|
|
|
+ {{ formData.currentApproverName || '-' }}
|
|
|
+ </el-descriptions-item>
|
|
|
<el-descriptions-item label="仓库">
|
|
|
{{ formData.warehouseName || '-' }}
|
|
|
</el-descriptions-item>
|
|
|
@@ -36,25 +39,67 @@
|
|
|
<el-table-column type="index" label="序号" width="55" align="center" />
|
|
|
<el-table-column
|
|
|
prop="systemBatchNo"
|
|
|
- label="来源系统批次"
|
|
|
+ label="来源系统批次号"
|
|
|
min-width="145"
|
|
|
show-overflow-tooltip
|
|
|
- />
|
|
|
+ >
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.systemBatchNo) }}</template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
prop="batchNo"
|
|
|
- label="业务批次"
|
|
|
+ label="业务批次号"
|
|
|
min-width="120"
|
|
|
show-overflow-tooltip
|
|
|
- />
|
|
|
+ >
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.batchNo) }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="warehouseName" label="仓库名称" min-width="120" show-overflow-tooltip>
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.warehouseName || formData.warehouseName) }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="categoryCode" label="物品编码" min-width="120" show-overflow-tooltip>
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.categoryCode) }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="categoryName" label="物品名称" min-width="120" show-overflow-tooltip>
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.categoryName) }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="specification" label="规格" min-width="100" show-overflow-tooltip>
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.specification) }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="categoryModel" label="型号" min-width="100" show-overflow-tooltip>
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.categoryModel) }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="brandNum" label="牌号" min-width="100" show-overflow-tooltip>
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.brandNum) }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="colorKey" label="颜色" min-width="100" show-overflow-tooltip>
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.colorKey) }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="unitPrice" label="单价" min-width="100">
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.unitPrice) }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="supplierName" label="供应商名称" min-width="130" show-overflow-tooltip>
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.supplierName) }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="supplierCode" label="供应商代号" min-width="120" show-overflow-tooltip>
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.supplierCode) }}</template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="目标批次" min-width="145" show-overflow-tooltip>
|
|
|
<template slot-scope="{ row }">
|
|
|
- {{ row.targetSystemBatchNo || targetText(row) }}
|
|
|
+ {{ displayValue(row.targetSystemBatchNo || targetText(row)) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="measureQuantity" label="计量数量" width="105" />
|
|
|
- <el-table-column prop="packageQuantity" label="包装数量" width="105" />
|
|
|
- <el-table-column prop="weight" label="重量" width="95" />
|
|
|
- <el-table-column prop="lockQuantity" label="锁库数量" width="105" />
|
|
|
+ <el-table-column prop="measureQuantity" label="计量数量" width="105">
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.measureQuantity) }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="packageQuantity" label="包装数量" width="105">
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.packageQuantity) }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="weight" label="重量" width="95">
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.weight) }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="lockQuantity" label="锁库数量" width="105">
|
|
|
+ <template slot-scope="{ row }">{{ displayValue(row.lockQuantity) }}</template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="整包装分配" min-width="150" show-overflow-tooltip>
|
|
|
<template slot-scope="{ row }">
|
|
|
{{ formatPackingIds(row.packingStockIds) }}
|
|
|
@@ -127,6 +172,9 @@
|
|
|
? `目标 ${row.targetDetailId}(审批通过后生成)`
|
|
|
: '审批通过后生成';
|
|
|
},
|
|
|
+ displayValue(value) {
|
|
|
+ return value == null || value === '' ? '-' : value;
|
|
|
+ },
|
|
|
formatPackingIds(value) {
|
|
|
const ids = this.parseArray(value);
|
|
|
return ids.length ? ids.join('、') : '-';
|