From 1210d5c10991c9f843a1770364a30fbfd3c5a5d8 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 13 一月 2026 13:17:45 +0800
Subject: [PATCH] 1.外购下单:标签打印功能调整 2.人员:培训计划导入导出添加【培训大类】字段 3.业务管理:报检新增【物料属性】字段选择,其余页面添加【物料属性】查询条件以及数据回显 4.标准库:布局优化,左侧选择树支持横向拖拽动态调整宽度

---
 src/views/business/reportPreparation/index.vue |   37 ++++++++++++++++++++++++++++++++-----
 1 files changed, 32 insertions(+), 5 deletions(-)

diff --git a/src/views/business/reportPreparation/index.vue b/src/views/business/reportPreparation/index.vue
index 0b6d7f7..0046fc0 100644
--- a/src/views/business/reportPreparation/index.vue
+++ b/src/views/business/reportPreparation/index.vue
@@ -16,6 +16,13 @@
             <el-option v-for="(a, i) in typeSourceList" :key="i" :label="a.label" :value="a.value"></el-option>
           </el-select>
         </el-form-item>
+        <el-form-item label="鐗╂枡灞炴��" prop="materialProp">
+          <el-select clearable size="small" v-model="entity.materialProp" style="width: 100%">
+            <el-option v-for="dict in dict.type.material_prop_type" :key="dict.value" :label="dict.label"
+                       :value="dict.value">
+            </el-option>
+          </el-select>
+        </el-form-item>
         <el-form-item label="妫�楠岀被鍒�" prop="orderType">
           <el-select v-model="entity.orderType" clearable size="small" @change="refreshTable()">
             <el-option v-for="(a, i) in orderTypeList" :key="i" :label="a.label" :value="a.value"></el-option>
@@ -187,7 +194,7 @@
           <el-button size="small" style="height: 38px" type="primary">闄勪欢涓婁紶</el-button>
         </el-upload>
       </div>
-      <lims-table :tableData="tableDataFile" :column="columnFile" height="500px"
+      <lims-table :tableData="tableDataFile" :column="columnFile" height="600px"
         key="tableDataFile" :tableLoading="tableLoadingFile"></lims-table>
     </el-dialog>
   </div>
@@ -213,6 +220,7 @@
 export default {
   name: 'ReportPreparation',
   components: { limsTable, onlyoffice },
+  dicts: ['material_prop_type'],
   data() {
     return {
       entity: {
@@ -220,6 +228,7 @@
         code: null,
         typeSource: null,
         orderType: null,
+        materialProp: null
       },
       page: {
         current: 1,
@@ -254,7 +263,8 @@
       verifyUser: null, // 瀹℃牳浜哄憳
       loadingVerify: false, // 瀹℃牳浜哄憳
       typeSourceList: [
-        { label: '鎴愬搧涓嬪崟', value: 0 },
+        { label: '濮旀墭涓嬪崟', value: -1 },
+        { label: '澶栬喘涓嬪崟', value: 0 },
         { label: '鍘熸潗鏂欎笅鍗�', value: 1 },
       ],
       orderTypeList: [
@@ -353,11 +363,28 @@
           dataType: "tag",
           formatData: (params) => {
             if (params == 0) {
-              return "鎴愬搧涓嬪崟";
-            } else {
+              return "澶栬喘涓嬪崟";
+            } else if(params==1) {
               return "鍘熸潗鏂欎笅鍗�";
+            }else{
+              return "濮旀墭涓嬪崟";
             }
           },
+        },
+        {
+          label: '鐗╂枡灞炴��',
+          prop: 'materialProp',
+          formatData: (params) => {
+            if (!params) return null
+
+            for (let i = 0; i < this.dict.type.material_prop_type.length; i++) {
+              const item = this.dict.type.material_prop_type[i]
+              if (item.value == params) {
+                return item.label
+              }
+            }
+            return null
+          }
         },
         {
           label: "妫�楠岀被鍨�",
@@ -525,7 +552,7 @@
     // 鏌ヨ闄勪欢鏌ョ湅鍒楄〃鍥炶皟
     getFileList() {
       this.tableLoadingFile = true
-      getFileList({ insOrderId: this.filesLookInfo.insOrderId }).then(res => {
+      getFileList({ insOrderId: this.filesLookInfo.insOrderId,current: -1, size: -1 }).then(res => {
         this.tableLoadingFile = false
         if (res.code === 200) {
           this.tableDataFile = res.data.records

--
Gitblit v1.9.3