|
@@ -382,11 +382,11 @@ const handleComfirm = () => {
|
|
|
formData.salesmanWithdrawAccountAuditDeptList = formData.salesmanWithdrawAccountAuditDeptList ? [formData.salesmanWithdrawAccountAuditDeptList] : []
|
|
formData.salesmanWithdrawAccountAuditDeptList = formData.salesmanWithdrawAccountAuditDeptList ? [formData.salesmanWithdrawAccountAuditDeptList] : []
|
|
|
formData.salesmanWithdrawPaymentAuditDeptList = formData.salesmanWithdrawPaymentAuditDeptList ? [formData.salesmanWithdrawPaymentAuditDeptList] : []
|
|
formData.salesmanWithdrawPaymentAuditDeptList = formData.salesmanWithdrawPaymentAuditDeptList ? [formData.salesmanWithdrawPaymentAuditDeptList] : []
|
|
|
const clientTypeList = formData.clientTypeList || []
|
|
const clientTypeList = formData.clientTypeList || []
|
|
|
- if (clientTypeList.includes(1) && clientTypeList.includes(2)) {
|
|
|
|
|
|
|
+ if (clientTypeList.includes('1') && clientTypeList.includes('2')) {
|
|
|
formData.clientType = 3 // PC和APP都选中
|
|
formData.clientType = 3 // PC和APP都选中
|
|
|
- } else if (clientTypeList.includes(1)) {
|
|
|
|
|
|
|
+ } else if (clientTypeList.includes('1')) {
|
|
|
formData.clientType = 1 // 只选中PC
|
|
formData.clientType = 1 // 只选中PC
|
|
|
- } else if (clientTypeList.includes(2)) {
|
|
|
|
|
|
|
+ } else if (clientTypeList.includes('2')) {
|
|
|
formData.clientType = 2 // 只选中APP
|
|
formData.clientType = 2 // 只选中APP
|
|
|
} else {
|
|
} else {
|
|
|
formData.clientType = 0 // 都没选中
|
|
formData.clientType = 0 // 都没选中
|