|
@@ -199,13 +199,13 @@ export default {
|
|
|
const { contactor:manangerUserId ,order_type ,has_account } = this.sitem || {};
|
|
|
|
|
|
// 工单供应商是否开通供应商端账号
|
|
|
- const isHasSupplierAccount = has_account === '1'
|
|
|
-
|
|
|
+ const isHasSupplierAccount = String(has_account) === '1'
|
|
|
const isStock = String(order_type) === '1'
|
|
|
|
|
|
if(!isStock){
|
|
|
+ console.log(has_account,isHasSupplierAccount)
|
|
|
// 非库存品&没有开通供应端账号
|
|
|
- this.isSupplierClientError = !isHasSupplierAccount
|
|
|
+ this.isSupplierClientError = isHasSupplierAccount
|
|
|
return
|
|
|
}
|
|
|
|