From 9d961bd20d2dfa877b8411c9104b00f98b3a4983 Mon Sep 17 00:00:00 2001
From: 周宾 <2802492122@qq.com>
Date: 星期三, 24 十二月 2025 09:15:23 +0800
Subject: [PATCH] 海川开心-配置文件更改
---
src/pages/productionManagement/productionReporting/index.vue | 30 +++++++++++++++++++++---------
1 files changed, 21 insertions(+), 9 deletions(-)
diff --git a/src/pages/productionManagement/productionReporting/index.vue b/src/pages/productionManagement/productionReporting/index.vue
index b8b92f4..28e3f55 100644
--- a/src/pages/productionManagement/productionReporting/index.vue
+++ b/src/pages/productionManagement/productionReporting/index.vue
@@ -8,13 +8,11 @@
<u-form-item label="瀹㈡埛鍚嶇О" label-width="80">
<up-input v-model="searchForm.customerName" placeholder="璇疯緭鍏�" clearable @change="handleQuery" />
</u-form-item>
- <u-form-item label="椤圭洰鍚嶇О" label-width="80">
- <up-input v-model="searchForm.projectName" placeholder="璇疯緭鍏�" clearable @change="handleQuery" />
- </u-form-item>
</view>
<view class="form-row">
- <u-form-item label="鐘舵��" label-width="80">
- <up-input v-model="statusDisplay" placeholder="璇烽�夋嫨鐘舵��" readonly @click="showStatusPicker = true" />
+ <u-form-item label="鐘舵��" label-width="80" style="flex:1">
+ <uni-data-select v-model="searchForm.status" :localdata="statusList"></uni-data-select>
+ <!-- <up-input v-model="statusDisplay" placeholder="璇烽�夋嫨鐘舵��" readonly @click="showStatusPicker = true" /> -->
</u-form-item>
</view>
<view class="form-actions">
@@ -37,7 +35,7 @@
<view class="row"><text class="label">鎺掍骇鏃ユ湡</text><text class="value">{{ item.schedulingDate }}</text></view>
<view class="row"><text class="label">鎺掍骇浜�</text><text class="value">{{ item.schedulingUserName }}</text></view>
<view class="row"><text class="label">鍚堝悓鍙�</text><text class="value">{{ item.salesContractNo }}</text></view>
- <view class="row"><text class="label">瀹㈡埛鍚堝悓鍙�</text><text class="value">{{ item.customerContractNo }}</text></view>
+ <!-- <view class="row"><text class="label">瀹㈡埛鍚堝悓鍙�</text><text class="value">{{ item.customerContractNo }}</text></view> -->
<view class="row"><text class="label">瀹㈡埛鍚嶇О</text><text class="value">{{ item.customerName }}</text></view>
<view class="row"><text class="label">浜у搧澶х被</text><text class="value">{{ item.productCategory }}</text></view>
<view class="row"><text class="label">瑙勬牸鍨嬪彿</text><text class="value">{{ item.specificationModel }}</text></view>
@@ -45,7 +43,7 @@
<view class="col"><text class="label">鍗曚綅</text><text class="value">{{ item.unit }}</text></view>
<view class="col"><text class="label">鎺掍骇鏁伴噺</text><text class="value">{{ item.schedulingNum }}</text></view>
<view class="col"><text class="label">鐢熶骇鏁伴噺</text><text class="value">{{ item.finishedNum }}</text></view>
- <view class="col"><text class="label">寰呯敓浜ф暟閲�</text><text class="value">{{ item.pendingFinishNum }}</text></view>
+ <view class="col"><text class="label">寰呮姤宸ユ暟閲�</text><text class="value">{{ item.pendingFinishNum }}</text></view>
</view>
</view>
<view class="card_actions">
@@ -70,6 +68,20 @@
import PageHeader from '@/components/PageHeader.vue'
import FormDia from './components/formDia.vue'
import { workListPage } from "@/api/productionManagement/productionReporting.js";
+
+const statusList = reactive([{
+ text:'寰呮姤宸�',
+ value: 1
+},{
+ text:'鎺掍骇涓�',
+ value: 2
+},
+// {
+// text:'鐢熶骇涓�',
+// value: 3
+// },
+])
+
const data = reactive({
searchForm: {
customerName: "",
@@ -80,7 +92,7 @@
const { searchForm } = toRefs(data);
const showStatusPicker = ref(false)
const statusOptions = ref([
- { label: '寰呯敓浜�', value: 1 },
+ { label: '寰呮姤宸�', value: 1 },
{ label: '鐢熶骇涓�', value: 2 },
{ label: '宸叉姤宸�', value: 3 },
])
@@ -134,7 +146,7 @@
// 鐘舵�佹枃鏈�/绫诲瀷
const statusText = (s) => {
if (s == 3) return '宸叉姤宸�'
- if (s == 1) return '寰呯敓浜�'
+ if (s == 1) return '寰呮姤宸�'
return '鐢熶骇涓�'
}
const statusType = (s) => {
--
Gitblit v1.9.3