Commit cfbeebdaafc3b2025ef2dafcb4641a6ae0372a57
Merge remote-tracking branch 'origin/master'
# Conflicts: # src/services/definition.ts # src/services/request.ts
Showing
4 changed files
with
16 additions
and
11 deletions
src/access.ts
@@ -11,7 +11,7 @@ export default (initialState: API.UserInfo) => { | @@ -11,7 +11,7 @@ export default (initialState: API.UserInfo) => { | ||
11 | return { | 11 | return { |
12 | canReadAdmin: canReadAdmin, | 12 | canReadAdmin: canReadAdmin, |
13 | canReadProcure: canReadProcure, | 13 | canReadProcure: canReadProcure, |
14 | - canReadLinda: username === 'Linda' || username === '吴量' || canReadAdmin, | 14 | + canReadLinda: username === 'Linda', |
15 | canReadAdminAndFinance: canReadFinance || canReadAdmin, | 15 | canReadAdminAndFinance: canReadFinance || canReadAdmin, |
16 | canReadSales: canReadSales, | 16 | canReadSales: canReadSales, |
17 | canReadAdminAndFinanceAndSales: | 17 | canReadAdminAndFinanceAndSales: |
src/pages/Order/constant.ts
@@ -429,14 +429,14 @@ export const MAIN_ORDER_COLUMNS = [ | @@ -429,14 +429,14 @@ export const MAIN_ORDER_COLUMNS = [ | ||
429 | hideInTable: true, | 429 | hideInTable: true, |
430 | }, | 430 | }, |
431 | { | 431 | { |
432 | - title: '销售代表', | ||
433 | - dataIndex: 'salesCode', | 432 | + title: '收货人', |
433 | + dataIndex: 'customerName', | ||
434 | valueType: 'text', | 434 | valueType: 'text', |
435 | hideInTable: true, | 435 | hideInTable: true, |
436 | }, | 436 | }, |
437 | { | 437 | { |
438 | - title: '收货人', | ||
439 | - dataIndex: 'customerName', | 438 | + title: '销售代表', |
439 | + dataIndex: 'salesCode', | ||
440 | valueType: 'text', | 440 | valueType: 'text', |
441 | hideInTable: true, | 441 | hideInTable: true, |
442 | }, | 442 | }, |
src/pages/Order/index.tsx
@@ -781,7 +781,7 @@ const OrderPage = () => { | @@ -781,7 +781,7 @@ const OrderPage = () => { | ||
781 | key={index} | 781 | key={index} |
782 | onConfirm={() => { | 782 | onConfirm={() => { |
783 | window.open( | 783 | window.open( |
784 | - '/onlinePreview?url=' + | 784 | + '/previewApi/onlinePreview?url=' + |
785 | encodeURIComponent(Base64.encode(item.url)), | 785 | encodeURIComponent(Base64.encode(item.url)), |
786 | ); | 786 | ); |
787 | }} | 787 | }} |
@@ -1837,7 +1837,7 @@ const OrderPage = () => { | @@ -1837,7 +1837,7 @@ const OrderPage = () => { | ||
1837 | onClick={() => { | 1837 | onClick={() => { |
1838 | createOptObject(optRecord.id, record.id); | 1838 | createOptObject(optRecord.id, record.id); |
1839 | setOrderDrawerVisible(true); | 1839 | setOrderDrawerVisible(true); |
1840 | - setOrderOptType('after-sales'); | 1840 | + setOrderOptType('after_sales'); |
1841 | }} | 1841 | }} |
1842 | > | 1842 | > |
1843 | 申请售后 | 1843 | 申请售后 |
@@ -3220,10 +3220,11 @@ const OrderPage = () => { | @@ -3220,10 +3220,11 @@ const OrderPage = () => { | ||
3220 | orderStatus !== 'UNAUDITED' && | 3220 | orderStatus !== 'UNAUDITED' && |
3221 | orderStatus !== 'AUDIT_FAILED' && | 3221 | orderStatus !== 'AUDIT_FAILED' && |
3222 | orderStatus !== 'LEADER_PROCESS' && | 3222 | orderStatus !== 'LEADER_PROCESS' && |
3223 | - orderStatus !== 'SALES_CONFIRM' | 3223 | + orderStatus !== 'SALES_CONFIRM' && |
3224 | + orderStatus !== 'CREDIT_CONFIRM' | ||
3224 | ) { | 3225 | ) { |
3225 | message.error( | 3226 | message.error( |
3226 | - '请选择【未审核、审核失败、销售待确认】的订单进行编辑', | 3227 | + '请选择【未审核、审核失败、销售待确认、赊账待审核】的订单进行编辑', |
3227 | ); | 3228 | ); |
3228 | return; | 3229 | return; |
3229 | } | 3230 | } |
src/pages/ResearchGroup/index.tsx
@@ -158,7 +158,11 @@ const PrepaidPage = () => { | @@ -158,7 +158,11 @@ const PrepaidPage = () => { | ||
158 | <div>名称:</div> | 158 | <div>名称:</div> |
159 | </Col> | 159 | </Col> |
160 | <Col span={14}> | 160 | <Col span={14}> |
161 | - <div>{accountInfo.realName}</div> | 161 | + <div> |
162 | + {accountInfo.realName === '' | ||
163 | + ? '用户' | ||
164 | + : accountInfo.realName} | ||
165 | + </div> | ||
162 | </Col> | 166 | </Col> |
163 | </Row> | 167 | </Row> |
164 | <Row gutter={4}> | 168 | <Row gutter={4}> |
@@ -196,7 +200,7 @@ const PrepaidPage = () => { | @@ -196,7 +200,7 @@ const PrepaidPage = () => { | ||
196 | loadAccountInfo(accountId, accountPhone); | 200 | loadAccountInfo(accountId, accountPhone); |
197 | }} | 201 | }} |
198 | > | 202 | > |
199 | - {accountName} | 203 | + {accountName === '' ? '用户' : accountName} |
200 | </Tag> | 204 | </Tag> |
201 | </Popconfirm> | 205 | </Popconfirm> |
202 | ); | 206 | ); |