|
@@ -65,6 +65,18 @@
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
+ <template v-slot:sourceType="{ row }">
|
|
|
|
|
+ <span v-if="row.sourceType == 1">生产计划</span>
|
|
|
|
|
+ <span v-if="row.sourceType == 2">临时生产计划</span>
|
|
|
|
|
+ <span v-if="row.sourceType == 3">受托转订单</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+
|
|
|
|
|
+ <template v-slot:workOrderType="{ row }">
|
|
|
|
|
+ <span v-if="row.workOrderType == 1">普通订单</span>
|
|
|
|
|
+ <span v-if="row.workOrderType == 2">临时订单</span>
|
|
|
|
|
+ <span v-if="row.workOrderType == 3">受托订单</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+
|
|
|
<template v-slot:productSumWeight="{ row }">
|
|
<template v-slot:productSumWeight="{ row }">
|
|
|
{{ row.productSumWeight }} {{ row.weightUnit }}
|
|
{{ row.productSumWeight }} {{ row.weightUnit }}
|
|
|
</template>
|
|
</template>
|
|
@@ -383,6 +395,30 @@
|
|
|
sortable: 'custom'
|
|
sortable: 'custom'
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: 'sourceType',
|
|
|
|
|
+ label: '来源类型',
|
|
|
|
|
+ slot: 'sourceType',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ minWidth: 110,
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: 'sourceCode',
|
|
|
|
|
+ label: '来源编码',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ minWidth: 110,
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: 'workOrderType',
|
|
|
|
|
+ label: '订单类型',
|
|
|
|
|
+ slot: 'workOrderType',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ minWidth: 110,
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
prop: 'productSumWeight',
|
|
prop: 'productSumWeight',
|
|
|
label: '订单重量',
|
|
label: '订单重量',
|