From 5a35260ed13d1fb138ca7feb9e5840a24ad9248d Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期一, 03 六月 2024 11:26:16 +0800
Subject: [PATCH] feat:库管首页菜单

---
 pages/customer-page/addDailyPlan/addDailyPlan.vue |   41 ++++++++++++++++-------------------------
 1 files changed, 16 insertions(+), 25 deletions(-)

diff --git a/pages/customer-page/addDailyPlan/addDailyPlan.vue b/pages/customer-page/addDailyPlan/addDailyPlan.vue
index e2428a1..4bd99cb 100644
--- a/pages/customer-page/addDailyPlan/addDailyPlan.vue
+++ b/pages/customer-page/addDailyPlan/addDailyPlan.vue
@@ -47,20 +47,19 @@
 			<uni-table border stripe 
 			emptyText="鏆傛棤鏇村鏁版嵁">
 					<uni-tr>
-						<uni-th align="left">璁㈠崟缂栧彿</uni-th>
-						<uni-th align="left">绫诲瀷</uni-th>
-						<uni-th align="left">浜у搧鍚嶇О</uni-th>
-					    <uni-th align="left">鍦哄湴</uni-th>
-						<uni-th align="left">瀹㈡埛</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 subDataList[0].tmOrderList" :key="index">
-					<uni-td>{{ item.orderCode }}</uni-td>
+					<uni-tr v-for="(item, index) in subDataList" :key="index">
+						<uni-td align="center">
+							<view>{{ item.productName }}</view></uni-td>
 					<uni-td>
 						<view class="name">{{ item.orderType }}</view>
 					</uni-td>
-					<uni-td align="center">{{ item.productName }}</uni-td>
-				聽   <uni-td align="center">{{ item.filedName }}</uni-td>
-					<uni-td align="center">{{ item.customerName }}</uni-td>
+					
+				聽   <uni-td align="center">
+					<view>{{ item.bunkerName }}</view></uni-td>
 				</uni-tr>
 				</uni-table>
 		 </view>
@@ -109,6 +108,7 @@
 				</view>
 			</u-popup>
 		</view> -->
+
 	</view>
 </template>
 
@@ -158,7 +158,7 @@
 		methods: {
             //鏌ヨ璁㈠崟
             getDingdan(){
-                    this.$reqGet('getAppOrderList')
+                    this.$reqGet('getAppOrderList',{orderType:'澶栬喘'})
 					.then(res => {
 						uni.hideLoading()
 						if (res.code == 0) {
@@ -178,22 +178,13 @@
 			},
 			confirmBuild() {
 				let form = {
-					carNo: uni.getStorageSync('carNo'),
-					coalName: this.productName,
-					deptId: this.deptId,  //閮ㄩ棬Id
-					deptName: this.deptName,  //閮ㄩ棬鍚嶇О
-					filedId: this.filedId,  //鐓ゅ満Id
-					filedName: this.filedName,  //鐓ゅ満鍚嶇О
-					orderType: "澶栬喘",
-					sendDate: this.sendDate,  //鍙戣繍鏃堕棿
-					xsUserId1: uni.getStorageSync('userId'),  //鐢ㄦ埛id
-					isPretendDischar: 1,  //鏄惁鑳借鍗� 1宸茬粡纭瑁呭嵏 0涓嶉渶瑕佽鍗�
-					isSpecial: 1,  //鏄惁鏄壒浜у搧 1鐗规畩浜у搧 0涓嶆槸鐗逛娇浜у搧
-					customerId: this.customerId,
-					customerName: this.customerName
+				  orderId:this.deptId,
+				  carNum:this.value,
+				  sendDate:this.sendDate,
+				  sendSign:0,
 				}
 				this.buildLoading = true
-				this.$reqPost('saveDeliveryNote', form, 'json').then(res => {
+				this.$reqPost('addDeliveryPlan', form, 'json').then(res => {
 					this.buildLoading = false
 					if (res.code == 0) {
 						this.$u.toast('鍒涘缓鎴愬姛')

--
Gitblit v1.9.1