Handy_Cao 1 年之前
父節點
當前提交
799d53f314
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/packages/pc/views/account/sign/index.vue

+ 3 - 3
src/packages/pc/views/account/sign/index.vue

@@ -99,11 +99,11 @@ const { dataList: records} = useRequest(queryUsereSignRecords, {
 
 /// 判断是否能签约
 const canBankSign = computed(() => {
-    if ( oem === 'tjmd' ) {
+    if ( oem.toLowerCase() === 'tjmd' ) {
         return protocolList.value.some(e => { return e.protocolstatus === 4 })
-    } else if ( oem === 'zrwyt' ) {
+    } else if ( oem.toLowerCase() === 'zrwyt' ) {
         return records.value.some(e => { return e.recordstatus === 3 })
-    } else if ( oem === 'GCSZT' ) {
+    } else if ( oem.toLowerCase() === 'gcszt' ) {
         return !records.value.map(e => { return e.recordstatus != 3 })
     }
     return true