From f16c91bc9b96c415b7129e3eccf29b5b9f93d7a3 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期三, 26 三月 2025 08:29:13 +0800 Subject: [PATCH] 工时查询修改, 样品搜索问题修复 --- src/views/business/materialOrder/copperOrder.vue | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/views/business/materialOrder/copperOrder.vue b/src/views/business/materialOrder/copperOrder.vue index 8001abe..442fcad 100644 --- a/src/views/business/materialOrder/copperOrder.vue +++ b/src/views/business/materialOrder/copperOrder.vue @@ -106,10 +106,10 @@ </el-row> </el-form> </div> - <div style="display: flex;justify-content: space-between;"> + <div style="display: flex;justify-content: space-between;background-color: #F5F7FB;margin-bottom: 6px"> <div v-if="active==1"> <el-form :inline="true" :model="addObj1" label-width="90px"> - <el-form-item label="鏍峰搧鍨嬪彿:" style="margin-bottom: 6px"> + <el-form-item label="鏍峰搧鍨嬪彿:" style="margin-bottom: 6px;margin-top: 6px"> <el-select v-model="model" :placeholder="active>1 ? '' : '璇疯緭鍏�'" allow-create clearable default-first-option filterable size="small" @@ -118,7 +118,7 @@ </el-option> </el-select> </el-form-item> - <el-form-item label="妫�楠屾爣鍑�:"> + <el-form-item label="妫�楠屾爣鍑�:" style="margin-bottom: 6px;margin-top: 6px"> <el-select v-model="standardMethodListId" :loading="methodLoad" :placeholder="active>1 ? '' : '璇疯緭鍏�'" clearable size="small" @change="changeStandardMethodListId" @focus="methodFocus"> @@ -128,8 +128,8 @@ </el-form-item> </el-form> </div> - <div style="margin-top: 3px"> - <el-button v-show="active==1" :disabled="sampleList.length === 2" size="small" type="primary" @click="handleSplitCountNum">鎷嗗垎</el-button> + <div style="margin-bottom: 6px;margin-top: 6px"> + <el-button v-show="active==1" :disabled="sampleList.length === 3" size="small" type="primary" @click="handleSplitCountNum">鎷嗗垎</el-button> </div> </div> <div style="height: auto;"> @@ -193,7 +193,7 @@ size="small" style="width: 80%;"></el-input-number> </template> </el-table-column> - <el-table-column align="center" label="寰呮椤规暟閲�" prop="proNum" width="105"></el-table-column> + <el-table-column align="center" label="寰呮椤规暟閲�" prop="quantity" width="105"></el-table-column> </el-table> <el-table ref="productTable" v-loading="getProductLoad" :data="productList" :row-class-name="tableRowClassName" class="el-table" :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border @@ -1194,9 +1194,6 @@ }) }, getProNum() { - this.sampleSelectionList.forEach((m, i) => { - Vue.set(this.sampleSelectionList[i], 'proNum', 1) - }) this.$refs.sampleTable.doLayout() }, searchFilter() { @@ -1808,4 +1805,11 @@ justify-content: space-between; margin-bottom: 10px; } +>>>.warning-row { + color: #1890FF; +} +.node_i { + color: orange; + font-size: 18px; +} </style> -- Gitblit v1.9.3