li.shaoyi il y a 6 mois
Parent
commit
65a3c0d355

+ 3 - 1
src/packages/sbyj/views/delivery/processing/components/pay/index.vue

@@ -74,13 +74,15 @@ const showModal = shallowRef(true)
 const refresh = shallowRef(false) // 是否刷新父组件数据
 const headurl = ref('')
 
+const deliveryPayModeList = getDeliveryPayModeList() // 支付类型列表
+
 const formData = reactive<Proto.DeliveryClientOperatorReq>({
     Header: {
         MarketID: props.selectedRow.marketid
     },
     DeliveryOrderID: handleRequestBigNumber(props.selectedRow.deliveryorderid),
     OperateType: 2, // 操作类型,必填1:客户确认2:客户付款
-    DeliveryPayMode: 1, // 默认线下支付
+    DeliveryPayMode: deliveryPayModeList[0]?.value ?? 0, // 默认线下支付
     PayAmount: 0,
     PayAttr: [],
 })