|
|
@@ -168,14 +168,13 @@ onActivated(() => {
|
|
|
if (oem === 'tjmd') { // 天津麦顿
|
|
|
canProtocolSign.value = res.data.some(e => e.protocolstatus === 4)
|
|
|
} else {
|
|
|
- canProtocolSign.value = true
|
|
|
// 铁合金
|
|
|
if (res.data.length === 0) {
|
|
|
+ canProtocolSign.value = true
|
|
|
initMdUserSwapProtocol()
|
|
|
- }
|
|
|
- // else {
|
|
|
- // canProtocolSign.value = res.data.some(e => e.protocolstatus === 4)
|
|
|
- // }
|
|
|
+ } else {
|
|
|
+ canProtocolSign.value = res.data.some(e => e.protocolstatus === 4)
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
})
|