🐞 fix(码单和#号移除):修复码单字段和#号移除
This commit is contained in:
@@ -9,7 +9,7 @@ import Popup from '@/components/popup'
|
||||
import useCheckAuthorize from '@/use/useCheckAuthorize'
|
||||
import { alert } from '@/common/common'
|
||||
import { GetPayCode } from '@/api/order'
|
||||
import { formatDateTime, formatWeightDiv } from '@/common/format'
|
||||
import { formatDateTime, formatRemoveHashTag, formatWeightDiv } from '@/common/format'
|
||||
import { PAY_H5_CODE_URL } from '@/common/constant'
|
||||
|
||||
interface Props {
|
||||
@@ -34,8 +34,8 @@ const CodeList = (props: Props) => {
|
||||
list.push({
|
||||
product_code: item.code,
|
||||
product_name: item.name,
|
||||
product_color_code: it.product_color_code,
|
||||
product_color_name: it.product_color_name,
|
||||
product_color_code: formatRemoveHashTag(it.code),
|
||||
product_color_name: it.name,
|
||||
num: it.roll.toString(),
|
||||
weight: formatWeightDiv(it.actual_weight).toString(),
|
||||
sale_price: (it.sale_price / 100).toString(),
|
||||
@@ -51,8 +51,8 @@ const CodeList = (props: Props) => {
|
||||
const query = {
|
||||
list,
|
||||
title: '面料销售电子确认单',
|
||||
show_qrcode: true,
|
||||
show_barcode: true,
|
||||
// show_qrcode: true,
|
||||
// show_barcode: true,
|
||||
order_type: props?.obj.sale_mode_name,
|
||||
shipment_mode: props?.obj.shipment_mode_name,
|
||||
company: props?.obj.title_purchaser_name,
|
||||
|
||||
Reference in New Issue
Block a user