From 2e77330d87341624c88301562fd137b58f9a101a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 25 十二月 2025 10:57:35 +0800
Subject: [PATCH] 1.海川开心-录入日期都默认当天,封装公用组件和方法
---
src/views/productionManagement/productionOrder/index.vue | 22 ++++++++++++++++------
1 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/src/views/productionManagement/productionOrder/index.vue b/src/views/productionManagement/productionOrder/index.vue
index fc41271..d730513 100644
--- a/src/views/productionManagement/productionOrder/index.vue
+++ b/src/views/productionManagement/productionOrder/index.vue
@@ -11,6 +11,15 @@
clearable
prefix-icon="Search"
/>
+ <span class="search_title ml10">鍚堝悓鍙凤細</span>
+ <el-input
+ v-model="searchForm.salesContractNo"
+ style="width: 240px"
+ placeholder="璇疯緭鍏�"
+ @change="handleQuery"
+ clearable
+ prefix-icon="Search"
+ />
<!-- <span class="search_title ml10">椤圭洰鍚嶇О锛�</span>-->
<!-- <el-input-->
<!-- v-model="searchForm.projectName"-->
@@ -58,7 +67,7 @@
width: 120,
},
{
- label: "鍚堝悓鍙�",
+ label: "閿�鍞悎鍚屽彿",
prop: "salesContractNo",
width: 220,
},
@@ -78,16 +87,16 @@
// width:300
// },
{
- label: "浠樻鐘舵��",
+ label: "鐢熶骇鐘舵��",
prop: "status",
dataType: "tag",
formatType: (params) => {
- if (params == '鏈畬鎴�') {
+ if (params == '鐢熶骇涓�') {
+ return "warning";
+ } else if (params == '鏈紑濮�') {
return "danger";
- } else if (params == '宸插畬鎴�') {
- return "success";
} else {
- return null;
+ return "success";
}
},
},
@@ -132,6 +141,7 @@
const data = reactive({
searchForm: {
customerName: "",
+ salesContractNo: "",
projectName: "",
status: "",
entryDate: [dayjs().format("YYYY-MM-DD"), dayjs().format("YYYY-MM-DD")], // 褰曞叆鏃ユ湡锛岄粯璁ゅ綋澶�
--
Gitblit v1.9.3