From c311ab706cfc3934e03c875211a41082acff575a Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期一, 02 九月 2024 08:14:23 +0800
Subject: [PATCH] feat:PVC流程提交

---
 subPages/allocaTetonnage/index.vue |   47 ++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 40 insertions(+), 7 deletions(-)

diff --git a/subPages/allocaTetonnage/index.vue b/subPages/allocaTetonnage/index.vue
index 7c31bf2..deb1597 100644
--- a/subPages/allocaTetonnage/index.vue
+++ b/subPages/allocaTetonnage/index.vue
@@ -9,19 +9,30 @@
                         v-if="!pageList.length"
 						></u-empty>
 				</view> 
+                <view
+			class="notice-bar">
+			<u-notice-bar :text="text"
+                 style="font-size:30rpx"
+				:fontSize="20"></u-notice-bar>
+			<view class="notice-icon"
+				style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/notice.png') no-repeat;background-size: cover; width: 42rpx;height: 42rpx;">
+			</view>
+		</view>
         <view class="tableCon"   v-if="pageList.length">
             <uni-table border
 						stripe
 						emptyText="鏆傛棤鏇村鏁版嵁">
 						<uni-tr>
-							<uni-th align="center">搴忓彿</uni-th>
-							<uni-th width='200' align="center">浜у搧鍚嶇О</uni-th>
+							<uni-th align="center">杞﹂槦</uni-th>
+							<uni-th  align="center">浜у搧鍚嶇О</uni-th>
+                            <uni-th   align="center">浜у搧绛夌骇</uni-th>
 							<uni-th align="center">鍚ㄦ暟</uni-th>
 						</uni-tr>
 						<uni-tr v-for="(item, index) in pageList"
 							:key="item.id">
-							<uni-td align="center">{{index  + 1}}</uni-td>
+							<uni-td align="center">{{item.fleetName}}</uni-td>
 							<uni-td align="center">{{ item.productName}}</uni-td>
+                            <uni-td align="center">{{ item.productGrade}}</uni-td>
 							<uni-td align="center">
                                  <u--input
                                     placeholder="璇疯緭鍏ュ惃鏁�"
@@ -54,22 +65,30 @@
             pageList:[],
             orderPlanId:'',
             customerId:'',
-            status:''
+            status:'',
+            fleetId:'',
+            pvcPlanMeasure:''
         }
     },
     computed:{
-
+        text() {
+				return `鏃ヨ鍒掓�诲惃鏁�${this.pvcPlanMeasure}鍚╜;
+			},
     },
     onLoad(params){
         console.log(params,'鍙傛暟')
         this.orderPlanId = params.orderPlanId;
         this.customerId = params.customerId;
+        this.pvcPlanMeasure = params.pvcPlanMeasure
+      
         if(params.status === '0'){
             this.status = params.status
         }else{
               this.status = '';
         }
-        
+        if(params.fleetId){
+                 this.fleetId = params.fleetId
+        }
 
         
 
@@ -80,7 +99,7 @@
     methods: {
         getBuild(){
 				console.log(this.productName,'opr')
-					this.$reqGet('getBuildList',{orderPlanId:this.orderPlanId,customerId:this.customerId,status:this.status}).then(res=>{
+					this.$reqGet('getBuildList',{orderPlanId:this.orderPlanId,customerId:this.customerId,status:this.status,fleetId:this.fleetId}).then(res=>{
 					console.log(res,'resss')
                     this.pageList = res.data;
 				})
@@ -116,13 +135,27 @@
 
             }
     },
+    
 
 
 }
 </script>
 
 <style lang='scss' scoped>
+.notice-bar {
+			width: 688rpx;
+			height: 56rpx;
+			margin: 0 auto;
+			position: relative;
+			// top: -200rpx;
+			background: transparent;
 
+			.notice-icon {
+				position: absolute;
+				top: 21rpx;
+				left: 7rpx;
+			}
+		}
 .warp{
     width: 100%;
     height: calc(100vh - 75rpx)

--
Gitblit v1.9.1