Browse Source

新增退款金额*100

zhangyong/milestone-20250913-现金管理
ZhangYong 1 month ago
parent
commit
1d2582958c
  1. 2
      .env.development
  2. 15
      src/views/moneyManage/receiveDetail/receiveDetail.vue

2
.env.development

@ -11,7 +11,7 @@ VITE_UPLOAD_URL=http://39.101.133.168:8828/hljw/api/aws/upload
# zhangyong # zhangyong
# VITE_API_BASE='http://192.168.3.83:8081/' # VITE_API_BASE='http://192.168.3.83:8081/'
# 本地 # 本地
VITE_API_BASE='http://localhost:8081/'
# VITE_API_BASE='http://localhost:8081/'
# sunjiabei # sunjiabei
# VITE_API_BASE='http://192.168.1.70:8081/' # VITE_API_BASE='http://192.168.1.70:8081/'

15
src/views/moneyManage/receiveDetail/receiveDetail.vue

@ -677,6 +677,7 @@ const getlist = async () => {
cashRoleId = '1' cashRoleId = '1'
if (activeTab.value == 'wait') { if (activeTab.value == 'wait') {
searchData.value.status = 0 searchData.value.status = 0
} else if (activeTab.value == 'pass') { } else if (activeTab.value == 'pass') {
searchData.value.status = 1346 searchData.value.status = 1346
} else if (activeTab.value == 'reject') { } else if (activeTab.value == 'reject') {
@ -693,9 +694,10 @@ const getlist = async () => {
...searchData.value, ...searchData.value,
...getTime.value, ...getTime.value,
submitterId: adminData.value.id, submitterId: adminData.value.id,
receivedMarket: receivedMarket,
receivedMarket: MarketNameForId(receivedMarket),
cashRoleId: cashRoleId, cashRoleId: cashRoleId,
paymentCurrency: payCurrencySelect
paymentCurrency: payCurrencySelect,
submitterMarket:receivedMarket
} }
} }
}) })
@ -846,7 +848,8 @@ const handleAddForm = async () => {
goodNum: addFormData.value.goodNum || 0, goodNum: addFormData.value.goodNum || 0,
paymentCurrency: CurrencyForId(addFormData.value.paymentCurrency) || '', paymentCurrency: CurrencyForId(addFormData.value.paymentCurrency) || '',
receivedMarket: MarketNameForId(addFormData.value.receivedMarket) || '', receivedMarket: MarketNameForId(addFormData.value.receivedMarket) || '',
paymentAmount: (addFormData.value.paymentAmount) * 100
paymentAmount: (addFormData.value.paymentAmount) * 100,
submitterMarket:adminData.value.markets
} }
}) })
if (result.code == 200) { if (result.code == 200) {
@ -985,10 +988,10 @@ const submitRefund = async () => {
goodsName: refundFormData.value.goodsName, // goodsName: refundFormData.value.goodsName, //
goodNum: refundFormData.value.goodNum, // 0 goodNum: refundFormData.value.goodNum, // 0
paymentCurrency: refundFormData.value.paymentCurrency, // paymentCurrency: refundFormData.value.paymentCurrency, //
paymentAmount: refundFormData.value.paymentAmount, //
paymentAmount: (refundFormData.value.paymentAmount)*100, //
receivedCurrency: refundFormData.value.receivedCurrency, // receivedCurrency: refundFormData.value.receivedCurrency, //
receivedAmount: refundFormData.value.receivedAmount, //
handlingCharge: refundFormData.value.handlingCharge, //
receivedAmount: (refundFormData.value.receivedAmount)*100, //
handlingCharge: (refundFormData.value.handlingCharge)*100, //
receivedMarket: refundFormData.value.receivedMarket, // receivedMarket: refundFormData.value.receivedMarket, //
payType: refundFormData.value.payType, // payType: refundFormData.value.payType, //
payTime: refundFormData.value.payTime, // yyyy-MM-dd HH:mm:ss payTime: refundFormData.value.payTime, // yyyy-MM-dd HH:mm:ss

Loading…
Cancel
Save