Browse Source

产品单位

zhangrenyuan/feature-20260128093451-日常优化1.0
ZhangYong 1 month ago
parent
commit
75c0403be1
  1. 8
      src/views/moneyManage/executor/executor.vue
  2. 4
      src/views/moneyManage/receiveDetail/receiveFinance.vue
  3. 26
      src/views/moneyManage/receiveDetail/receiveManage.vue
  4. 11
      src/views/moneyManage/receiveDetail/receiveService.vue
  5. 8
      src/views/moneyManage/refundDetail/refundCharge.vue
  6. 8
      src/views/moneyManage/refundDetail/refundFinance.vue
  7. 8
      src/views/moneyManage/refundDetail/refundHeader.vue
  8. 8
      src/views/moneyManage/refundDetail/refundService.vue

8
src/views/moneyManage/executor/executor.vue

@ -63,7 +63,13 @@
<el-table-column prop="name" :label="t('common_list.name')" width="120" fixed="left" show-overflow-tooltip /> <el-table-column prop="name" :label="t('common_list.name')" width="120" fixed="left" show-overflow-tooltip />
<el-table-column prop="marketName" :label="t('common_list.market')" width="120" /> <el-table-column prop="marketName" :label="t('common_list.market')" width="120" />
<el-table-column prop="goodsName" :label="t('common_list.productName')" width="120" /> <el-table-column prop="goodsName" :label="t('common_list.productName')" width="120" />
<el-table-column prop="goodsNum" :label="t('common_list.productNum')" width="120" />
<el-table-column prop="goodsNum" :label="t('common_list.productNum')" width="130px">
<template #default="scope">
<span v-if="scope.row.goodsName == t('common_list.goldRecharge')">{{
scope.row.permanentGold }} {{ t('cash.unit') }}</span>
<span v-else>{{ scope.row.goodsNum }} {{ scope.row.numUnit }}</span>
</template>
</el-table-column>
<el-table-column prop="refundModel" :label="t('common_list.refundModel')" width="140"> <el-table-column prop="refundModel" :label="t('common_list.refundModel')" width="140">
<template #default="scope"> <template #default="scope">
{{ scope.row.refundModel === 1 ? t('common_list.refundModelPart') : t('common_list.refundModelAll') }} {{ scope.row.refundModel === 1 ? t('common_list.refundModelPart') : t('common_list.refundModelAll') }}

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

@ -129,8 +129,8 @@
<el-table-column prop="goodNum" :label="t('common_list.productNum')" width="130px"> <el-table-column prop="goodNum" :label="t('common_list.productNum')" width="130px">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.goodsName == t('common_list.goldRecharge')">{{ <span v-if="scope.row.goodsName == t('common_list.goldRecharge')">{{
scope.row.permanentGold }}</span>
<span v-else>{{ scope.row.goodNum }}</span>
scope.row.permanentGold }} {{ t('cash.unit') }}</span>
<span v-else>{{ scope.row.goodNum }} {{ scope.row.numUnit }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="paymentCurrency" :label="t('common_list.payCurrency')" width="120px" /> <el-table-column prop="paymentCurrency" :label="t('common_list.payCurrency')" width="120px" />

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

@ -129,8 +129,8 @@
<el-table-column prop="goodNum" :label="t('common_list.productNum')" width="130px"> <el-table-column prop="goodNum" :label="t('common_list.productNum')" width="130px">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.goodsName == t('common_list.goldRecharge')">{{ <span v-if="scope.row.goodsName == t('common_list.goldRecharge')">{{
scope.row.permanentGold }}</span>
<span v-else>{{ scope.row.goodNum }}</span>
scope.row.permanentGold }} {{ t('cash.unit') }}</span>
<span v-else>{{ scope.row.goodNum }} {{ scope.row.numUnit }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="paymentCurrency" :label="t('common_list.payCurrency')" width="120px" /> <el-table-column prop="paymentCurrency" :label="t('common_list.payCurrency')" width="120px" />
@ -445,12 +445,12 @@
</div> </div>
</div> </div>
<el-form-item :label="t('common_add.payCurrency')"> <el-form-item :label="t('common_add.payCurrency')">
<CurrencySelect :disabled="!ifOnline" v-model="editFormData.paymentCurrency"
<CurrencySelect :disabled="ifOnline" v-model="editFormData.paymentCurrency"
:items="customOptions" :placeholder="t('common_add.payCurrency')" /> :items="customOptions" :placeholder="t('common_add.payCurrency')" />
</el-form-item> </el-form-item>
<el-form-item :label="t('common_add.paymentAmount')">
<el-input :disabled="!ifOnline" v-model="editFormData.paymentAmount"
:placeholder="t('common_add.paymentAmount')" />
<el-form-item :label="t('common_add.payAmount')">
<el-input :disabled="ifOnline" v-model="editFormData.paymentAmount"
:placeholder="t('common_add.payAmount')" />
</el-form-item> </el-form-item>
<el-form-item :label="t('common_add.payMethod')"> <el-form-item :label="t('common_add.payMethod')">
<el-select disabled="true" v-model="editFormData.payType" <el-select disabled="true" v-model="editFormData.payType"
@ -822,7 +822,7 @@ const exportExcel = async function () {
// } // }
const cashRoleId = '1'; const cashRoleId = '1';
const submitterMarket = normalizeSubmitterMarket(adminData.value.markets);
const submitterMarket = adminData.value.markets;
searchData.value.status = 46; searchData.value.status = 46;
const params = { const params = {
...pageInfo.value, ...pageInfo.value,
@ -1191,7 +1191,11 @@ watch(auditFormisible, (val) => {
const openEditForm = (row) => { const openEditForm = (row) => {
console.log('row.aaa', row.handlingCharge); console.log('row.aaa', row.handlingCharge);
editFormData.value = { ...row };
editFormData.value = {
...row,
paymentCurrencyOrig: row.paymentCurrency,
paymentAmountOrig: row.paymentAmount,
};
// //
if (row.goodsName === t('cash.coinRecharge')) isEditGold.value = true; if (row.goodsName === t('cash.coinRecharge')) isEditGold.value = true;
else isEditGold.value = false; else isEditGold.value = false;
@ -1235,7 +1239,9 @@ const submitEditForm = async () => {
receivedCurrency: CurrencyForId(editFormData.value.receivedCurrency), receivedCurrency: CurrencyForId(editFormData.value.receivedCurrency),
receivedAmount: editFormData.value.receivedAmount * 100 || null, // receivedAmount: editFormData.value.receivedAmount * 100 || null, //
receivedTime: editFormData.value.receivedTime, receivedTime: editFormData.value.receivedTime,
receivedRemark: editFormData.value.receivedRemark || ''
receivedRemark: editFormData.value.receivedRemark || '',
paymentCurrencyOrig: editFormData.value.paymentCurrencyOrig,
paymentAmountOrig: CurrencyForId(editFormData.value.paymentAmountOrig),
} }
}); });
@ -1705,7 +1711,7 @@ const handlePagination = (type, val) => {
} }
:deep(.adddialog .el-form-item__label) { :deep(.adddialog .el-form-item__label) {
min-width: 80px;
min-width: 100px;
width: auto; width: auto;
font-weight: 800; font-weight: 800;
padding-bottom: 15px; padding-bottom: 15px;

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

@ -97,15 +97,8 @@
<el-table-column prop="goodNum" :label="t('common_list.productNum')" width="130px"> <el-table-column prop="goodNum" :label="t('common_list.productNum')" width="130px">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.goodsName == t('common_list.goldRecharge')">{{ <span v-if="scope.row.goodsName == t('common_list.goldRecharge')">{{
scope.row.permanentGold }}</span>
<span v-else>{{ scope.row.goodNum }}</span>
</template>
</el-table-column>
<el-table-column prop="numUnit" :label="t('common_add.numUnit')" width="130px">
<template #default="scope">
<span v-if="scope.row.goodsName == t('common_list.goldRecharge')">{{
scope.row.permanentGold }}</span>
<span v-else>{{ scope.row.goodNum }}</span>
scope.row.permanentGold }} {{ t('cash.unit') }}</span>
<span v-else>{{ scope.row.goodNum }} {{ scope.row.numUnit }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="paymentCurrency" :label="t('common_list.payCurrency')" width="120px" /> <el-table-column prop="paymentCurrency" :label="t('common_list.payCurrency')" width="120px" />

8
src/views/moneyManage/refundDetail/refundCharge.vue

@ -73,7 +73,13 @@
show-overflow-tooltip /> show-overflow-tooltip />
<el-table-column prop="marketName" :label="t('common_list.market')" width="120" /> <el-table-column prop="marketName" :label="t('common_list.market')" width="120" />
<el-table-column prop="goodsName" :label="t('common_list.productName')" width="130" show-overflow-tooltip /> <el-table-column prop="goodsName" :label="t('common_list.productName')" width="130" show-overflow-tooltip />
<el-table-column prop="goodsNum" :label="t('common_list.productNum')" width="120" />
<el-table-column prop="goodsNum" :label="t('common_list.productNum')" width="130px">
<template #default="scope">
<span v-if="scope.row.goodsName == t('common_list.goldRecharge')">{{
scope.row.permanentGold }} {{ t('cash.unit') }}</span>
<span v-else>{{ scope.row.goodsNum }} {{ scope.row.numUnit }}</span>
</template>
</el-table-column>
<el-table-column prop="refundModel" :label="t('common_list.refundModel')" width="120"> <el-table-column prop="refundModel" :label="t('common_list.refundModel')" width="120">
<template #default="scope"> <template #default="scope">
{{ scope.row.refundModel === 1 ? t('common_list.refundModelPart') : t('common_list.refundModelAll') {{ scope.row.refundModel === 1 ? t('common_list.refundModelPart') : t('common_list.refundModelAll')

8
src/views/moneyManage/refundDetail/refundFinance.vue

@ -65,7 +65,13 @@
<el-table-column prop="name" :label="t('common_list.name')" width="120" fixed="left" show-overflow-tooltip /> <el-table-column prop="name" :label="t('common_list.name')" width="120" fixed="left" show-overflow-tooltip />
<el-table-column prop="marketName" :label="t('common_list.market')" width="120" /> <el-table-column prop="marketName" :label="t('common_list.market')" width="120" />
<el-table-column prop="goodsName" :label="t('common_list.productName')" width="130" show-overflow-tooltip /> <el-table-column prop="goodsName" :label="t('common_list.productName')" width="130" show-overflow-tooltip />
<el-table-column prop="goodsNum" :label="t('common_list.productNum')" width="120" />
<el-table-column prop="goodsNum" :label="t('common_list.productNum')" width="130px">
<template #default="scope">
<span v-if="scope.row.goodsName == t('common_list.goldRecharge')">{{
scope.row.permanentGold }} {{ t('cash.unit') }}</span>
<span v-else>{{ scope.row.goodsNum }} {{ scope.row.numUnit }}</span>
</template>
</el-table-column>
<el-table-column prop="refundModel" :label="t('common_list.refundModel')" width="120"> <el-table-column prop="refundModel" :label="t('common_list.refundModel')" width="120">
<template #default="scope"> <template #default="scope">
{{ scope.row.refundModel === 1 ? t('common_list.refundModelPart') : t('common_list.refundModelAll') }} {{ scope.row.refundModel === 1 ? t('common_list.refundModelPart') : t('common_list.refundModelAll') }}

8
src/views/moneyManage/refundDetail/refundHeader.vue

@ -66,7 +66,13 @@
<el-table-column prop="jwcode" :label="t('common_list.name')" width="120" fixed="left" show-overflow-tooltip /> <el-table-column prop="jwcode" :label="t('common_list.name')" width="120" fixed="left" show-overflow-tooltip />
<el-table-column prop="marketName" :label="t('common_list.market')" width="120" /> <el-table-column prop="marketName" :label="t('common_list.market')" width="120" />
<el-table-column prop="goodsName" :label="t('common_list.productName')" width="130" show-overflow-tooltip /> <el-table-column prop="goodsName" :label="t('common_list.productName')" width="130" show-overflow-tooltip />
<el-table-column prop="goodsNum" :label="t('common_list.productNum')" width="120" />
<el-table-column prop="goodsNum" :label="t('common_list.productNum')" width="130px">
<template #default="scope">
<span v-if="scope.row.goodsName == t('common_list.goldRecharge')">{{
scope.row.permanentGold }} {{ t('cash.unit') }}</span>
<span v-else>{{ scope.row.goodsNum }} {{ scope.row.numUnit }}</span>
</template>
</el-table-column>
<el-table-column prop="refundModel" :label="t('common_list.refundModel')" width="120"> <el-table-column prop="refundModel" :label="t('common_list.refundModel')" width="120">
<template #default="scope"> <template #default="scope">
{{ scope.row.refundModel === 1 ? t('common_list.refundModelPart') : t('common_list.refundModelAll') }} {{ scope.row.refundModel === 1 ? t('common_list.refundModelPart') : t('common_list.refundModelAll') }}

8
src/views/moneyManage/refundDetail/refundService.vue

@ -69,7 +69,13 @@
<el-table-column prop="marketName" :label="t('common_list.market')" width="120" /> <el-table-column prop="marketName" :label="t('common_list.market')" width="120" />
<el-table-column prop="activity" :label="t('common_list.activity')" width="120px" show-overflow-tooltip /> <el-table-column prop="activity" :label="t('common_list.activity')" width="120px" show-overflow-tooltip />
<el-table-column prop="goodsName" :label="t('common_list.productName')" width="130" show-overflow-tooltip /> <el-table-column prop="goodsName" :label="t('common_list.productName')" width="130" show-overflow-tooltip />
<el-table-column prop="goodsNum" :label="t('common_list.productNum')" width="120" />
<el-table-column prop="goodsNum" :label="t('common_list.productNum')" width="130px">
<template #default="scope">
<span v-if="scope.row.goodsName == t('common_list.goldRecharge')">{{
scope.row.permanentGold }} {{ t('cash.unit') }}</span>
<span v-else>{{ scope.row.goodsNum }} {{ scope.row.numUnit }}</span>
</template>
</el-table-column>
<el-table-column prop="paymentCurrency" :label="t('common_add.payCurrency')" width="120" /> <el-table-column prop="paymentCurrency" :label="t('common_add.payCurrency')" width="120" />
<el-table-column prop="paymentAmount" :label="t('common_add.payAmount')" width="120" /> <el-table-column prop="paymentAmount" :label="t('common_add.payAmount')" width="120" />
<el-table-column prop="payType" :label="t('common_add.payMethod')" width="140" /> <el-table-column prop="payType" :label="t('common_add.payMethod')" width="140" />

Loading…
Cancel
Save