huang_an 2 lat temu
rodzic
commit
b5d6e93868

+ 13 - 3
src/views/warehouseManagement/outgoingManagement/details.vue

@@ -27,7 +27,9 @@
               <el-col :span="8">
                 <el-form-item label="出库物品类型">
                   <span>{{
-                    getDictValue('类型用途', infoData.assetType)
+                    infoData.bizType == 3
+                      ? '物品'
+                      : getDictValue('类型用途', infoData.assetType)
                   }}</span>
                 </el-form-item>
               </el-col>
@@ -182,7 +184,11 @@
 
         <div class="mt20">
           <header-title
-            :title="`${getDictValue('类型用途', infoData.assetType)}明细`"
+            :title="`${
+              infoData.bizType == 3
+                ? '物品'
+                : getDictValue('类型用途', infoData.assetType)
+            }明细`"
             size="16px"
           ></header-title>
           <el-table
@@ -196,7 +202,11 @@
             <el-table-column label="序号" type="index" width="50">
             </el-table-column>
             <el-table-column
-              :label="`${getDictValue('类型用途', infoData.assetType)}编码`"
+              :label="`${
+                infoData.bizType == 3
+                  ? '物品'
+                  : getDictValue('类型用途', infoData.assetType)
+              }编码`"
               prop="code"
             ></el-table-column>
             <el-table-column label="批次号" prop="batchNo"></el-table-column>