Explorar el Código

fix: 添加tableReceiptTitle属性以动态设置收货单编码标签

xieyong hace 6 días
padre
commit
d89e0fdc05

+ 1 - 0
src/views/bpm/handleTask/components/purchaseOrder/accountstatement/page.vue

@@ -44,6 +44,7 @@
         :datasource.sync="datasource"
         dialogType="view"
         tableTitle="采购订单编码"
+        tableReceiptTitle="收货单编码"
       ></AccountDetailTable>
   </div>
 </template>

+ 5 - 1
src/views/bpm/handleTask/components/saleOrder/accountstatement/accountDetailTable.vue

@@ -204,6 +204,10 @@
       tableTitle: {
         type: String,
         default: ''
+      },
+      tableReceiptTitle: {
+        type: String,
+        default: ''
       }
     },
     data() {
@@ -245,7 +249,7 @@
           {
             minWidth: 140,
             prop: this.queryDimension == 1 ? 'statementSubOrderCode' : 'statementSubOrderNo',
-            label: this.queryDimension == 1 ? '发货单编码' : '调拨单编码',
+            label: this.queryDimension == 1 ? this.tableReceiptTitle || '发货单编码' : '调拨单编码',
             align: 'center',
             showOverflowTooltip: true,
           },