|
|
@ -70,9 +70,9 @@ |
|
|
<span v-else-if="item.columnProp === 'transportFlag'" :style="{color: scope.row.transportFlag === 'Y' ? '#67C23A' : '#909399'}"> |
|
|
<span v-else-if="item.columnProp === 'transportFlag'" :style="{color: scope.row.transportFlag === 'Y' ? '#67C23A' : '#909399'}"> |
|
|
{{ scope.row.transportFlag === 'Y' ? '是' : '否' }} |
|
|
{{ scope.row.transportFlag === 'Y' ? '是' : '否' }} |
|
|
</span> |
|
|
</span> |
|
|
<!-- 订单类型特殊显示 - rqrq --> |
|
|
|
|
|
|
|
|
<!-- 订单类型特殊显示(中文)- rqrq --> |
|
|
<span v-else-if="item.columnProp === 'orderType'" :style="{color: getOrderTypeColor(scope.row.orderType), fontWeight: 'bold'}"> |
|
|
<span v-else-if="item.columnProp === 'orderType'" :style="{color: getOrderTypeColor(scope.row.orderType), fontWeight: 'bold'}"> |
|
|
{{ scope.row.orderType || '-' }} |
|
|
|
|
|
|
|
|
{{ getOrderTypeText(scope.row.orderType) }} |
|
|
</span> |
|
|
</span> |
|
|
<!-- 普通列显示 --> |
|
|
<!-- 普通列显示 --> |
|
|
<span v-else-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span> |
|
|
<span v-else-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span> |
|
|
@ -120,9 +120,9 @@ |
|
|
<span v-else-if="item.columnProp === 'issureFlag'" :style="{color: scope.row.issureFlag === 'Y' ? '#67C23A' : '#909399'}"> |
|
|
<span v-else-if="item.columnProp === 'issureFlag'" :style="{color: scope.row.issureFlag === 'Y' ? '#67C23A' : '#909399'}"> |
|
|
{{ scope.row.issureFlag === 'Y' ? '是' : '否' }} |
|
|
{{ scope.row.issureFlag === 'Y' ? '是' : '否' }} |
|
|
</span> |
|
|
</span> |
|
|
<!-- 订单类型特殊显示 - rqrq --> |
|
|
|
|
|
|
|
|
<!-- 订单类型特殊显示(中文)- rqrq --> |
|
|
<span v-else-if="item.columnProp === 'orderType'" :style="{color: getOrderTypeColor(scope.row.orderType), fontWeight: 'bold'}"> |
|
|
<span v-else-if="item.columnProp === 'orderType'" :style="{color: getOrderTypeColor(scope.row.orderType), fontWeight: 'bold'}"> |
|
|
{{ scope.row.orderType || '-' }} |
|
|
|
|
|
|
|
|
{{ getOrderTypeText(scope.row.orderType) }} |
|
|
</span> |
|
|
</span> |
|
|
<!-- 普通列显示 --> |
|
|
<!-- 普通列显示 --> |
|
|
<span v-else-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span> |
|
|
<span v-else-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span> |
|
|
@ -436,6 +436,25 @@ export default { |
|
|
columnWidth: 100, |
|
|
columnWidth: 100, |
|
|
showOverflowTooltip: true |
|
|
showOverflowTooltip: true |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 801001, |
|
|
|
|
|
serialNumber: '801001Table2ComponentPartNo', |
|
|
|
|
|
tableId: '801001Table2', |
|
|
|
|
|
tableName: '预留标签清单表', |
|
|
|
|
|
columnProp: 'componentPartNo', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'left', |
|
|
|
|
|
columnLabel: '物料号', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120, |
|
|
|
|
|
showOverflowTooltip: true |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 801001, |
|
|
functionId: 801001, |
|
|
@ -572,6 +591,19 @@ export default { |
|
|
return '#909399' // 灰色 |
|
|
return '#909399' // 灰色 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
// 获取订单类型中文文本 - rqrq |
|
|
|
|
|
getOrderTypeText(orderType) { |
|
|
|
|
|
switch (orderType) { |
|
|
|
|
|
case 'shoporder': |
|
|
|
|
|
return '生产订单' |
|
|
|
|
|
case 'shipment': |
|
|
|
|
|
return '销售发货' |
|
|
|
|
|
case 'slittingorder': |
|
|
|
|
|
return '分切订单' |
|
|
|
|
|
default: |
|
|
|
|
|
return orderType || '-' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
// 查询主表数据 - rqrq |
|
|
// 查询主表数据 - rqrq |
|
|
searchTable() { |
|
|
searchTable() { |
|
|
this.dataListLoading = true |
|
|
this.dataListLoading = true |
|
|
|