From 13450f431faf60cb2a7cef7bba2c758df39d906e Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期三, 10 十二月 2025 14:40:13 +0800
Subject: [PATCH] 提交报表
---
north-glass-erp/northglass-erp/src/components/sd/order/OrderProcess.vue | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/components/sd/order/OrderProcess.vue b/north-glass-erp/northglass-erp/src/components/sd/order/OrderProcess.vue
index c45fcd2..4396c4a 100644
--- a/north-glass-erp/northglass-erp/src/components/sd/order/OrderProcess.vue
+++ b/north-glass-erp/northglass-erp/src/components/sd/order/OrderProcess.vue
@@ -97,7 +97,8 @@
let props = defineProps({
orderId:null,
- row: {}
+ row: {},
+ processId:null//鐢ㄤ簬鍚庣鏁版嵁杩斿洖锛岀粨鏋滅瓫閫�
})
const columns = [
{field: 'order_number',fixed:"left", width: 90,title: t('order.OrderNum'),showOverflow:"ellipsis",filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
@@ -266,6 +267,16 @@
const changeZoom = ()=> {
showTitle.value = !showTitle.value
}
+
+const rowStyle = ({ row,rowIndex }) => {
+ if(row.termination_status==1){
+ return {
+ backgroundColor: 'rgb(186 188 192)'
+ }
+ }
+
+
+}
</script>
<template>
@@ -279,6 +290,7 @@
ref="xGrid"
v-bind="gridOptions"
v-on="gridEvents"
+ :row-style="rowStyle"
>
<template #num1_filter="{ column, $panel }">
<div>
@@ -303,6 +315,8 @@
<template #title>
<span style="font-weight: bold" v-show="showTitle">
{{ row.orderId }}
+ {{ row.customerName?'--':'' }}
+ {{ row.customerName}}
{{ row.project?'--':'' }}
{{row.project}}
{{ row.batch?'--':'' }}
--
Gitblit v1.8.0