huangbin 4 年之前
父节点
当前提交
b4ef8dea9a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/common/setup/table/button.ts

+ 1 - 1
src/common/setup/table/button.ts

@@ -15,7 +15,7 @@ import { BtnClassName, BtnList, ButtonListKey } from './interface';
 export function getClassName(val: string): BtnClassName {
 export function getClassName(val: string): BtnClassName {
     let result: BtnClassName = 'btnDeafault'
     let result: BtnClassName = 'btnDeafault'
     const btnDanger = ['disable', 'cancle', 'cancel', 'delete', 'logout', 'locked', 'refuse']
     const btnDanger = ['disable', 'cancle', 'cancel', 'delete', 'logout', 'locked', 'refuse']
-    const operBtn = ['add', 'modify', 'reset', 'credit', 'payment', 'confirm_withdrawal', 'complete_stocking', 'upload_logistics',
+    const operBtn = ['add', 'modify', 'reset', 'credit', 'payment', 'confirm_withdrawal', 'complete_stocking', 'upload_logistics', 'buy', 'listed', 'delisting',
         'receipt', 'confirm_pickup']
         'receipt', 'confirm_pickup']
     const map = new Map<BtnClassName, string[]>([
     const map = new Map<BtnClassName, string[]>([
         ['btnDanger', btnDanger],
         ['btnDanger', btnDanger],