From 057b700019dcfdde20e67d459f52e159d15d2c91 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 13 一月 2026 13:36:14 +0800
Subject: [PATCH] main.js调整
---
src/views/business/productOrder/components/auxiliaryWireCore.vue | 29 +++++++++++++++--------------
1 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/src/views/business/productOrder/components/auxiliaryWireCore.vue b/src/views/business/productOrder/components/auxiliaryWireCore.vue
index 926ee8c..ef3bd1f 100644
--- a/src/views/business/productOrder/components/auxiliaryWireCore.vue
+++ b/src/views/business/productOrder/components/auxiliaryWireCore.vue
@@ -16,14 +16,16 @@
<el-option v-for="item in quantityList" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
</el-form-item>
+ <el-form-item label="鍨嬪彿鍙傛暟" prop="modelNum">
+ <el-input v-model="auxiliaryWireCore.modelNum" placeholder="闈炲繀濉�" size="small"
+ @input="methodChange(auxiliaryWireCore.standardMethodListId)"></el-input>
+ </el-form-item>
<el-form-item label="妫�楠屾爣鍑�" prop="standardMethodListId">
- <el-select v-model="auxiliaryWireCore.standardMethodListId" allow-create
- clearable
- default-first-option
- filterable
- multiple
- size="small">
- <el-option v-for="item in quantityList" :key="item.value" :label="item.label" :value="item.value"></el-option>
+ <el-select v-model="auxiliaryWireCore.standardMethodListId" disabled placeholder="璇烽�夋嫨妫�楠屾爣鍑�"
+ size="small"
+ @change="(value)=>methodChange(value)">
+ <el-option v-for="item in standards" :key="item.id" :label="item.code" :value="item.id">
+ </el-option>
</el-select>
</el-form-item>
</el-form>
@@ -36,6 +38,7 @@
<div class="table">
<el-table ref="productTable" v-loading="getProductLoad" :data="productList"
:row-class-name="tableRowClassName" border class="el-table" :height="'calc(100vh - 200px)'"
+ :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }"
tooltip-effect="dark" @select="upProductSelect"
@selection-change="selectProduct" @select-all="handleAll">
<el-table-column :selectable="selectable" type="selection" width="65"></el-table-column>
@@ -251,10 +254,7 @@
this.$refs.productTable.doLayout()
})
},
- tableRowClassName({
- row,
- rowIndex
- }) {
+ tableRowClassName({row, rowIndex}) {
if (row.state === 0) {
return '';
}
@@ -312,7 +312,8 @@
const cores = this.sampleSelectionList[0].cores
const conductorMaterial = this.sampleSelectionList[0].conductorMaterial
const conductorType = this.sampleSelectionList[0].conductorType
- const modelNum = this.sampleSelectionList[0].modelNum
+ // const modelNum = this.sampleSelectionList[0].modelNum
+ const modelNum = this.auxiliaryWireCore.modelNum
selectStandardProductList({
model: this.$parent.addObj.model ? this.$parent.addObj.model : model,
modelNum: modelNum,
@@ -398,7 +399,7 @@
font-size: 12px;
}
-.ins_order_config .el-table .warning-row .cell {
- color: #3A7BFA;
+>>>.warning-row {
+ color: #1890FF;
}
</style>
--
Gitblit v1.9.3