Przeglądaj źródła

补全包装规格

yusheng 1 rok temu
rodzic
commit
54274e4829

+ 7 - 0
src/views/bpm/handleTask/components/inquiryManage/inquiryTable.vue

@@ -569,6 +569,13 @@
       slot: 'remark',
       align: 'center'
     },
+    {
+      minWidth: 120,
+      prop: 'packingSpecification',
+      align: 'center',
+      label: '包装规格',
+      showOverflowTooltip: true
+    },
     {
       minWidth: 90,
       prop: 'taxRate',

+ 24 - 0
src/views/bpm/handleTask/components/purchaseOrder/detailDialog.vue

@@ -431,6 +431,28 @@
             slot: 'totalCount',
             align: 'center'
           },
+          {
+            width: 120,
+            prop: 'produceType',
+            align: 'center',
+            label: '属性类型',
+            showOverflowTooltip: true,
+            formatter: (row, column) => {
+              return row.produceType && row.produceType.length
+                ? row.produceType
+                    .map((item) => this.getDictValue('生产类型', item + ''))
+                    .join(',')
+                : '';
+            }
+          },
+
+          {
+            width: 120,
+            prop: 'packingSpecification',
+            align: 'center',
+            label: '包装规格',
+            showOverflowTooltip: true
+          },
           {
             width: 120,
             prop: 'measuringUnit',
@@ -819,6 +841,8 @@
     },
     created() {
       this.requestDict('产地');
+      this.requestDict('生产类型');
+      
       this.getDetailData(this.businessId);
     },
     methods: {

+ 22 - 0
src/views/bpm/handleTask/components/purchaseOrder/invoice/receiptInfo.vue

@@ -154,6 +154,27 @@
             slot: 'modelType',
             align: 'center'
           },
+          {
+            width: 120,
+            prop: 'produceType',
+            align: 'center',
+            label: '属性类型',
+            showOverflowTooltip: true,
+            formatter: (row, column) => {
+              return row.produceType && row.produceType.length
+                ? row.produceType
+                    .map((item) => this.getDictValue('生产类型', item + ''))
+                    .join(',')
+                : '';
+            }
+          },
+          {
+            width: 120,
+            prop: 'packingSpecification',
+            align: 'center',
+            label: '包装规格',
+            showOverflowTooltip: true
+          },
           {
             width: 120,
             prop: 'supplierMark',
@@ -363,6 +384,7 @@
     created() {
       console.log(this.detailData, 'detailData');
       this.requestDict('产地');
+      this.requestDict('生产类型');
     },
     methods: {}
   };

+ 7 - 0
src/views/bpm/handleTask/components/purchasePlanManage/detailDialog.vue

@@ -348,6 +348,13 @@
             headerSlot: 'headerSupplierName',
             align: 'center'
           },
+          {
+            width: 120,
+            prop: 'packingSpecification',
+            align: 'center',
+            label: '包装规格',
+            showOverflowTooltip: true
+          },
           {
             width: 160,
             prop: 'technicalDrawings',

+ 3 - 0
src/views/bpm/handleTask/components/saleOrder/returnGoods/addReturnGoodsDialog.vue

@@ -103,6 +103,9 @@
         :datasource="productList"
         row-key="id"
       >
+      <template v-slot:technicalDrawings="{ row }">
+        <fileMain v-model="row.technicalDrawings" type="view"></fileMain>
+      </template>
       </ele-pro-table>
       <headerTitle
         title="退货物品明细"

+ 3 - 0
src/views/bpm/handleTask/components/saleOrder/returnGoods/detailDialog.vue

@@ -111,6 +111,9 @@
       :datasource="productList"
       row-key="id"
     >
+    <template v-slot:technicalDrawings="{ row }">
+        <fileMain v-model="row.technicalDrawings" type="view"></fileMain>
+      </template>
     </ele-pro-table>
     <headerTitle
       title="退货物品明细"