Commit 98b84d378721c8a31be6983b0736447491f79b23

Authored by zhongnanhuang
1 parent 61220eb7

feat: update

src/pages/Order/components/ApplyForInvoicingModal.tsx
... ... @@ -126,7 +126,9 @@ export default ({
126 126 }}
127 127 onOpenChange={setCheckVisible}
128 128 >
129   - <div>如果需要合并订单,请将需要合并的订单id写在备注中。</div>
  129 + <div className="mb-1">
  130 + 如果需要合并订单,请将需要合并的订单id写在备注中,id之间用英文逗号隔开。
  131 + </div>
130 132 <ProFormTextArea
131 133 width="lg"
132 134 name="applyInvoicingNotes"
... ... @@ -134,7 +136,14 @@ export default ({
134 136 />
135 137 <ProFormUploadDragger
136 138 key="2"
137   - label="附件"
  139 + label={
  140 + <div>
  141 + <span>开票明细确认表</span>
  142 + <span className="pl-2 text-xs text-gray-400">
  143 + 如果开票信息有变更,如开票内容跟下单内容不一致、下单抬头和付款抬头不一致,请上传开票明细确认表。
  144 + </span>
  145 + </div>
  146 + }
138 147 name="filePaths"
139 148 action="/api/service/order/fileProcess"
140 149 fieldProps={{
... ...
src/pages/Order/components/CheckModal.tsx
... ... @@ -234,6 +234,10 @@ export default ({
234 234 * @param body 财务审核
235 235 */
236 236 async function doFinancailCheck(values: any, isAgree: boolean) {
  237 + if (fileList.length <= 0) {
  238 + message.error('凭证不能为空');
  239 + return;
  240 + }
237 241 messageApi.open({
238 242 type: 'loading',
239 243 content: '正在上传图片...',
... ...
src/pages/Order/components/OrderDrawer.tsx
... ... @@ -570,7 +570,7 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; {
570 570 // disabled={mainInfoDisbled}
571 571 placeholder="请输入银行账号"
572 572 />
573   - <ProFormText
  573 + <ProFormTextArea
574 574 width="lg"
575 575 name="notes"
576 576 label="备注"
... ... @@ -799,11 +799,18 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; {
799 799 rules={[{ required: true, message: '所属事业部必填' }]}
800 800 // disabled={mainInfoDisbled}
801 801 />,
802   - <ProFormText
  802 + <ProFormTextArea
803 803 key={'notes' + listMeta.index}
804 804 width="lg"
805 805 name="notes"
806   - label="备注"
  806 + label={
  807 + <div>
  808 + <span>备注</span>
  809 + <span className="pl-2 text-xs text-gray-400">
  810 + 备注将体现在出货单上,请将需要仓管看见的信息写在备注上,例如需要开收据等信息。
  811 + </span>
  812 + </div>
  813 + }
807 814 placeholder="请输入备注"
808 815 rules={[
809 816 {
... ...
src/pages/Order/index.tsx
... ... @@ -1710,7 +1710,9 @@ const OrderPage = () =&gt; {
1710 1710 ''
1711 1711 )}
1712 1712  
1713   - {record.mainPath?.includes('noNeedInvoicingEdit') ? (
  1713 + {record?.subOrderInformationLists[0].subPath?.includes(
  1714 + 'noNeedInvoicingEdit',
  1715 + ) ? (
1714 1716 <Button
1715 1717 className="p-0"
1716 1718 type="link"
... ...