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/kb/crankshaft/index.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/jcdm-ui/src/views/main/kb/crankshaft/index.vue b/jcdm-ui/src/views/main/kb/crankshaft/index.vue index 82fbb3f..ca24c8f 100644 --- a/jcdm-ui/src/views/main/kb/crankshaft/index.vue +++ b/jcdm-ui/src/views/main/kb/crankshaft/index.vue @@ -32,7 +32,7 @@ <el-form ref="form" :model="form" label-width="25%" > <el-form-item prop="engineNo" style="margin-top: 16px"> <span slot="label" style="font-size:22px;color:black;"><strong>鏇茶酱鐮�</strong></span> - <el-input style="font-size:20px" v-model="form.engineNo" placeholder="璇锋壂鎻忔洸杞寸爜" clearable @input="EngineNohandleChange"> + <el-input style="font-size:20px" v-model="form.barcode" placeholder="璇锋壂鎻忔洸杞寸爜" clearable @input="EngineNohandleChange"> <el-button slot="append" plain type="info" @click="EngineNohandleChange" icon="el-icon-search"></el-button> </el-input> </el-form-item> @@ -94,7 +94,7 @@ import { listOrderScheduling, getOrderScheduling, delOrderScheduling, addOrderScheduling, updateOrderScheduling } from "@/api/main/bs/orderScheduling/orderScheduling"; import { listPassingStationCollection, getPassingStationCollection, delPassingStationCollection, addPassingStationCollection, updatePassingStationCollection } from "@/api/main/da/passingStationCollection/passingStationCollection"; import {listLineInfo} from "@/api/main/bs/lineInfo/lineInfo"; -import { setSNCode } from "@/api/main/da/opcuaconfig/opcuaconfig"; +import { setBarcode } from "@/api/main/da/opcuaconfig/opcuaconfig"; import {getIp, listStationConf} from "@/api/main/sc/stationConf"; import QRCode from "qrcodejs2"; @@ -134,7 +134,7 @@ }, // 琛ㄥ崟鍙傛暟 form: { - engineNo: null, + barcode: null, productType:null, orderNo:null, qualityStatus:null, @@ -194,7 +194,7 @@ }, reset() { this.form = { - engineNo:null, + barcode:null, productType:null, orderNo:null, qualityStatus:null, @@ -205,8 +205,9 @@ this.resetForm("form"); }, EngineNohandleChange(){ - if(this.form.engineNo !== null && this.form.engineNo !== undefined){ - setSNCode(this.form.engineNo,this.locationCode) + + if(this.form.barcode !== null && this.form.barcode !== undefined){ + setBarcode(this.form.barcode,this.locationCode) } }, parseQRCode(code) { -- Gitblit v1.9.3