Browse Source

fix():商品订单查询

tags/PMS_Frontend_v1.0.6-develop
xingjx 1 year ago
parent
commit
ccc1f87688
  1. 212
      src/pages/FinancialMgm/OrderInquiry/ProductOrderInquiry/index.jsx

212
src/pages/FinancialMgm/OrderInquiry/ProductOrderInquiry/index.jsx

@ -115,76 +115,20 @@ function ProductOrderInquiry() {
return arr
}
//
const ash = [
{//1
name: "region",
type: "TreeSelect",
label: "区域",
},
{//2
name: "operator",
type: "Select",
label: "商户名称",
options: dictionary.MerchantName,
},
{//3
name: "road",
type: "Input",
label: "停车场名称",
placeholder: "请输入停车场名称",
},
{//4
name: "road_type",
type: "Select",
label: "车场类型",
options: [
{
label: "全部",
value: 0,
},
{
label: "路侧平行",
value: 1,
},
const carash = [
{
label: "路侧垂停",
value: 2,
},
{
label: "封闭车场",
value: 3,
name: "plate_number",
type: "Input",
label: "车牌号",
placeholder: "请输入车牌号",
},
{
label: "半封闭车场",
value: 4,
},
],
},
{//5
name: "phone",
type: "Input",
label: "手机号",
placeholder: "请输入手机号",
},
{//6
name: "type",
type: "Select",
label: "出入场类型",
placeholder: "请选择出入场类型",
defaultValue: 1,
options: [
{
label: "入场",
value: 1,
},
{
label: "出场",
value: 2,
},
],
},
{//7
name: "goods_name",
type: "Input",
label: "商品名称",
@ -248,52 +192,32 @@ function ProductOrderInquiry() {
placeholder: "请选择支付设备",
options: sysConfig.Equipment
},
{//12
name: "pay_type",
type: "Select",
label: "支付方式",
placeholder: "请选择支付方式",
options: dictionary.PaydMethod,
},
{//13
{
name: "timePeriod",
type: "RangePicker",
label: "时间段",
defaultTitle: ['支付时间', '至'],
defaultValue: [moment().startOf("day"), moment()],
},
{//14
name: "b",
type: "Select",
label: "退款方式",
placeholder: "请选择退款方式",
options: dictionary.PaydMethod,
},
{//15
{
name: "channel_serial_number",
type: "Input",
label: "渠道流水号",
placeholder: "请输入渠道流水号",
},
{//16
name: "timePeriod",
type: "RangePicker",
label: "时间段",
defaultTitle: ['支付时间', '至'],
defaultValue: [moment().startOf("day"), moment()],
},
{//17
name: "timePeriod",
type: "RangePicker",
label: "时间段",
defaultTitle: ['订购时间', '至']
// defaultValue: [moment().startOf("day"), moment()],
];
const cfkash = [
{
name: "parking_name",
type: "Input",
label: "停车场名称",
placeholder: "请输入停车场名称",
},
{//18
name: "timePeriod",
type: "RangePicker",
label: "时间段",
defaultTitle: ['预约到场时间', '至']
// defaultValue: [moment().startOf("day"), moment()],
{
name: "phone",
type: "Input",
label: "手机号",
placeholder: "请输入手机号",
},
{//19
name: "plate_number",
@ -301,89 +225,25 @@ function ProductOrderInquiry() {
label: "车牌号",
placeholder: "请输入车牌号",
},
{//20
name: "order_id",
type: "Input",
label: "支付订单ID",
placeholder: "请输入支付订单ID",
},
{//21
name: "berth_id",
type: "Input",
label: "泊位号",
placeholder: "请输入泊位号",
},
{//22
name: "t",
{
name: "pay_channel",
type: "Select",
label: "所属商户",
placeholder: "请选择所属商户",
options: dictionary.MerchantName,
},
{//23
name: "t",
type: "Input",
label: "预付订单ID",
placeholder: "请输入订单ID",
},
{//24
name: "t",
type: "Input",
label: "停车记录ID",
placeholder: "停车记录ID",
},
{//25
name: "dealer",
type: "Input",
label: "操作人",
placeholder: "请输入操作人",
},
{//26
name: "t",
type: "Input",
label: "停车订单ID",
placeholder: "停车订单ID",
},
{//27
name: "t",
type: "Input",
label: "欠费区间",
placeholder: "",
label: "支付方式",
placeholder: "请选择支付方式",
options: dictionary.PaydMethod,
},
{//28
{
name: "timePeriod",
type: "RangePicker",
label: "时间段",
defaultTitle: ['订单修改时间', '至'],
defaultValue: [moment().startOf("day"), moment()],
},
{//29
name: "b",
type: "Select",
label: "修改原因",
placeholder: "请选择修改原因",
options: [
{
label: "全部",
value: 0,
},
{
label: "重复支付退款",
value: 2,
},
{
label: "异常支付退款",
value: 7,
},
{
label: "异常订单处理",
value: 11,
defaultTitle: ['订购时间', '至']
// defaultValue: [moment().startOf("day"), moment()],
},
{
label: "自动平单退款",
value: 12,
},
],
name: "channel_serial_number",
type: "Input",
label: "渠道流水号",
placeholder: "请输入渠道流水号",
},
];
const [resultData, setResultData] = useState([])
@ -536,8 +396,6 @@ function ProductOrderInquiry() {
pay_channel: '',
order_status: '',
pay_device: '',
//start_time: '',
//end_time: '',
channel_serial_number: '',
export: '0',
export_file_name: ''
@ -548,8 +406,6 @@ function ProductOrderInquiry() {
phone: '',
parking_name: '',
pay_channel: '',
//start_time: '',
//end_time: '',
channel_serial_number: '',
export: '0',
export_file_name: '',
@ -816,7 +672,7 @@ function ProductOrderInquiry() {
{tabKey == 1 ? renderTable(
createCol(['车牌号', '车牌颜色', '手机号', '商品名称', '实付金额', '支付渠道', '支付设备', '购买渠道', '支付时间', '订单状态', '渠道流水号'],
['plate_number', 'plate_type', 'phone', 'goods_name', 'pay_amount', 'pay_channel', 'pay_device', 'buy_channel', 'pay_time', 'order_status_text', 'channel_serial_number'], 1),
[ash[18], ash[4], ash[6], ash[7], ash[8], ash[9], ash[10], ash[15], ash[14]],
carash,
resultData, '停车卡', "/api/fin/order_search/parking_card_order_list"//
) : null}
@ -825,7 +681,7 @@ function ProductOrderInquiry() {
{tabKey == 2 ? renderTable(
createCol(['序号', '停车场名称', '车牌号', '手机号', '订单金额', '支付方式', '渠道流水号', '同步MS状态', '订购时间'],
['id', 'parking_name', 'plate_number', 'phone', 'pay_amount', 'pay_method', 'channel_serial_number', 'status', 'pay_time'], 2),
[ash[2], ash[4], ash[18], ash[11], ash[16], ash[14]],
cfkash,
resultData, '错峰卡', "/api/fin/order_search/staggered_parking_order_list"//
) : null}
</Tabs.TabPane>

Loading…
Cancel
Save