Преглед изворни кода

fix: 根据查询维度动态调整发货单编码和调拨单编码的显示逻辑

xieyong пре 2 дана
родитељ
комит
994afb34c9

+ 4 - 3
src/views/bpm/handleTask/components/saleOrder/accountstatement/accountDetailTable.vue

@@ -240,17 +240,18 @@
           },
           {
             minWidth: 140,
-            prop: 'statementSubOrderNo',
+            prop: this.queryDimension == 1 ? 'statementSubOrderCode' : 'statementSubOrderNo',
             label: this.queryDimension == 1 ? '发货单编码' : '调拨单编码',
             align: 'center',
-            showOverflowTooltip: true
+            showOverflowTooltip: true,
           },
           {
             minWidth: 120,
             prop: 'productOperateTime',
             label: this.queryDimension == 1 ? '发货日期' : '调拨单日期',
             align: 'center',
-            showOverflowTooltip: true
+            showOverflowTooltip: true,
+            show: this.queryDimension == 1 ? false : true,
           },
           {
             minWidth: 120,