From 04b8eff075a04db23e6f908855699b4d2954588c Mon Sep 17 00:00:00 2001
From: yyt <306727702@qq.com>
Date: 星期四, 23 五月 2024 18:47:01 +0800
Subject: [PATCH] 380新产品,优化

---
 jcdm-ui/src/views/main/om/productionOrde/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/jcdm-ui/src/views/main/om/productionOrde/index.vue b/jcdm-ui/src/views/main/om/productionOrde/index.vue
index f3ddc64..08a212b 100644
--- a/jcdm-ui/src/views/main/om/productionOrde/index.vue
+++ b/jcdm-ui/src/views/main/om/productionOrde/index.vue
@@ -9,6 +9,9 @@
       <el-form-item label-width="80" label="鐢熶骇璁㈠崟" prop="workOrderNo">
         <el-input v-model="queryParams.workOrderNo" placeholder="璇疯緭鍏ョ敓浜ц鍗�" clearable @keyup.enter.native="handleQuery"/>
       </el-form-item>
+      <el-form-item style="margin-left: 14px" label="浜у搧缂栧彿" prop="productCode">
+        <el-input v-model="queryParams.productCode" placeholder="璇疯緭鍏ヤ骇鍝佺紪鍙�" clearable @keyup.enter.native="handleQuery"/>
+      </el-form-item>
 <!--      <el-form-item label="浜у搧鍚嶇О" prop="productName">-->
 <!--        <el-input v-model="queryParams.productName" placeholder="璇疯緭鍏ヤ骇鍝佸悕绉�" clearable @keyup.enter.native="handleQuery"/>-->
 <!--      </el-form-item>-->
@@ -28,9 +31,6 @@
       </el-form-item>
     </el-form>
     <el-form :model="queryParams" ref="queryParams" size="small" :inline="true" v-show="advancedShowSearch" label-width="68px">
-      <el-form-item style="margin-left: 14px" label="浜у搧缂栧彿" prop="productCode">
-        <el-input v-model="queryParams.productCode" placeholder="璇疯緭鍏ヤ骇鍝佺紪鍙�" clearable @keyup.enter.native="handleQuery"/>
-      </el-form-item>
       <el-form-item label="鏈哄瀷" prop="typeZ">
         <el-input v-model="queryParams.typeZ" placeholder="璇疯緭鍏ユ満鍨�" clearable @keyup.enter.native="handleQuery"/>
       </el-form-item>
@@ -323,7 +323,7 @@
 import { listProductBom } from "@/api/main/bs/ProductBom/ProductBom";
 import { listTechnologyRoute} from "@/api/main/bs/technologyRoute/technologyRoute";
 import ItemSelect  from "@/components/itemSelect/single.vue";
-import {  addOrderSchedulingForBoxCode,getProductionNotice, upDownMove, listProductionOrde, getProductionOrde, delProductionOrde, addProductionOrde, updateProductionOrde } from "@/api/main/om/productionOrde/productionOrde";
+import {  addOrderSchedulingForBoxCode,getProductionNotice, upDownMove, listProductionOrde, getProductionOrde,getProductionOrdes, delProductionOrde, addProductionOrde, updateProductionOrde } from "@/api/main/om/productionOrde/productionOrde";
 import {
   listOrderScheduling,
   getOrderScheduling,
@@ -699,7 +699,7 @@
       this.initWorkshop();
       this.reset();
       const id = Row.id || this.ids
-      getProductionOrde(id).then(response => {
+      getProductionOrdes(id).then(response => {
         console.log(response.data)
         console.log(response.data.productCode)
         this.materialQueryParams.materialCode = response.data.productCode;

--
Gitblit v1.9.3