Browse Source

手续费无法为0 问题

lihuilin/feature-20251104102812-现金二期
ZhangYong 1 week ago
parent
commit
82c080c002
  1. 2
      src/views/moneyManage/receiveDetail/receiveFinance.vue
  2. 2
      src/views/moneyManage/receiveDetail/receiveManage.vue
  3. 6
      src/views/moneyManage/receiveDetail/receiveService.vue

2
src/views/moneyManage/receiveDetail/receiveFinance.vue

@ -1116,7 +1116,7 @@ const submitEditForm = async () => {
url: '/cashCollection/complete', url: '/cashCollection/complete',
data: { data: {
orderCode: editFormData.value.orderCode, orderCode: editFormData.value.orderCode,
handlingCharge: editFormData.value.handlingCharge * 100 || null, //
handlingCharge: editFormData.value.handlingCharge * 100 , //
paymentCurrency: CurrencyForId(editFormData.value.paymentCurrency), paymentCurrency: CurrencyForId(editFormData.value.paymentCurrency),
paymentAmount: editFormData.value.paymentAmount * 100, // paymentAmount: editFormData.value.paymentAmount * 100, //
receivedCurrency: CurrencyForId(editFormData.value.receivedCurrency), receivedCurrency: CurrencyForId(editFormData.value.receivedCurrency),

2
src/views/moneyManage/receiveDetail/receiveManage.vue

@ -1116,7 +1116,7 @@ const submitEditForm = async () => {
url: '/cashCollection/complete', url: '/cashCollection/complete',
data: { data: {
orderCode: editFormData.value.orderCode, orderCode: editFormData.value.orderCode,
handlingCharge: editFormData.value.handlingCharge * 100 || null, //
handlingCharge: editFormData.value.handlingCharge * 100 , //
paymentCurrency: CurrencyForId(editFormData.value.paymentCurrency), paymentCurrency: CurrencyForId(editFormData.value.paymentCurrency),
paymentAmount: editFormData.value.paymentAmount * 100, // paymentAmount: editFormData.value.paymentAmount * 100, //
receivedCurrency: CurrencyForId(editFormData.value.receivedCurrency), receivedCurrency: CurrencyForId(editFormData.value.receivedCurrency),

6
src/views/moneyManage/receiveDetail/receiveService.vue

@ -542,7 +542,7 @@ const handlePagination = (type, val) => {
// ===================== / ===================== // ===================== / =====================
const addFormisible = ref(false) // const addFormisible = ref(false) //
const addFormData = ref({ name: '', market: '', permanentGold: 0, freeGold: 0, goodsName: '' }) //
const addFormData = ref({ name: '', market: '', goodsName: '' }) //
const addFormRef = ref(null) // const addFormRef = ref(null) //
const addOrEdit = ref(0) // 1=2= const addOrEdit = ref(0) // 1=2=
const isGold = ref(false) // const isGold = ref(false) //
@ -693,8 +693,8 @@ const handleAddForm = async () => {
data: { data: {
...addFormData.value, ...addFormData.value,
submitterId: adminData.value.id, submitterId: adminData.value.id,
permanentGold: (addFormData.value.permanentGold || 0) * 100,
freeGold: (addFormData.value.freeGold || 0) * 100,
permanentGold: (addFormData.value.permanentGold ) * 100,
freeGold: (addFormData.value.freeGold ) * 100,
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) || '',

Loading…
Cancel
Save