ysy 2 سال پیش
والد
کامیت
6b5c3a8961

+ 1 - 1
src/views/outsourcing/components/details.vue

@@ -1,7 +1,7 @@
 <template>
     <el-dialog title="详情" :visible.sync="visible" :before-close="handleClose" :close-on-click-modal="false"
         :close-on-press-escape="false" append-to-body width="80%">
-            {{  detailType  }}
+       
         <!-- 数据表格 -->
         <ele-pro-table ref="table" v-if="detailType == 1" :columns="columns" cache-key="detailsTable"
             height="calc(100vh - 350px)">

+ 10 - 0
src/views/outsourcing/index.vue

@@ -169,6 +169,16 @@ export default {
                 },
 
 
+
+                
+
+                {
+                    prop: 'produceRoutingName',
+                    label: '工艺路线',
+                    align: 'center',
+                },
+
+
                 {
                     prop: 'createTime',
                     label: '创建时间',

+ 8 - 2
src/views/warehousing/components/tgDetails.vue

@@ -4,6 +4,12 @@
       :need-page="false">
 
 
+      
+
+      <template v-slot:packingWeight="{ row }">
+        {{ row.packingWeight }} {{  row.weightUnit}}
+      </template>
+
 
 
       <template v-slot:materielCode="{ row }">
@@ -99,7 +105,7 @@ export default {
 
         {
           label: '本包重量',
-          prop: 'packingWeight'
+          slot: 'packingWeight'
         },
 
         {
@@ -134,7 +140,7 @@ export default {
       ],
 
 
-      columns: [
+      columns2: [
         {
           label: '序号',
           type: 'index',