更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -115,10 +115,6 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
/**
|
||||
* 往来账单详情:核销进度、逐笔核销来源、关联的收付款单与原始单据明细。
|
||||
* funds 是后端按核销记录聚合出来的收付款单字典,核销行靠 fund_bill_id 反查单号与方式。
|
||||
*/
|
||||
import { computed, ref } from 'vue'
|
||||
import { onLoad } from '@dcloudio/uni-app'
|
||||
import FaIcon from '@/components/FaIcon.vue'
|
||||
|
||||
@@ -105,10 +105,6 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
/**
|
||||
* 应收应付账单列表。
|
||||
* 「未收/未付合计」用的是接口随列表返回的全量汇总,不是本页累加,翻页也不会跳数。
|
||||
*/
|
||||
import { computed, ref } from 'vue'
|
||||
import { onLoad, onReachBottom, onShow } from '@dcloudio/uni-app'
|
||||
import FaIcon from '@/components/FaIcon.vue'
|
||||
@@ -195,7 +191,6 @@ async function loadPage() {
|
||||
function switchType(value) {
|
||||
if (billType.value === value) return
|
||||
billType.value = value
|
||||
// 应收只看客户、应付只看供应商,跨类型带的客商筛选必须一起清掉
|
||||
partnerId.value = ''
|
||||
partnerName.value = ''
|
||||
refresh()
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
<u-tag :text="fundStatusLabel(status)" :type="fundStatusType(status)" size="mini" />
|
||||
</view>
|
||||
|
||||
<!-- 单据信息 -->
|
||||
<view class="form-card">
|
||||
<view class="field">
|
||||
<text class="field-label">款项类型 <text class="required">*</text></text>
|
||||
@@ -102,7 +101,6 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 核销:收款/付款 + 已选往来单位时才出现 -->
|
||||
<view v-if="showSettle" class="settle-card">
|
||||
<view class="settle-head">
|
||||
<text class="settle-title">核销往来账</text>
|
||||
@@ -204,11 +202,6 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
/**
|
||||
* 收付款开单 / 查看。
|
||||
* 草稿只是登记,确认那一刻后端才写核销明细并回写往来账余额;
|
||||
* 已确认的单不可改,只能作废(余额同步回滚),所以 view 模式复用同一张表单只读渲染。
|
||||
*/
|
||||
import { computed, reactive, ref } from 'vue'
|
||||
import { onLoad } from '@dcloudio/uni-app'
|
||||
import FaIcon from '@/components/FaIcon.vue'
|
||||
@@ -281,7 +274,6 @@ onLoad(async (query = {}) => {
|
||||
if (query.id) {
|
||||
await loadFund(Number(query.id))
|
||||
} else if (needPartner.value && form.partnerId) {
|
||||
// 从账单详情跳过来时把这张账单预勾选,金额默认取未结额
|
||||
await loadBills(Number(query.bill_id || 0))
|
||||
}
|
||||
})
|
||||
@@ -312,7 +304,6 @@ async function loadFund(id) {
|
||||
async function onType(value) {
|
||||
if (Number(form.fundType) === Number(value)) return
|
||||
form.fundType = Number(value)
|
||||
// 收款只核客户应收、付款只核供应商应付,切换后原往来单位与勾选一并作废
|
||||
form.partnerId = 0
|
||||
form.partnerName = ''
|
||||
clearPicks()
|
||||
@@ -463,7 +454,6 @@ async function onDelete() {
|
||||
})
|
||||
}
|
||||
|
||||
/** 列表页跳来的栈可能是账单详情,优先回到它的来源列表 */
|
||||
function back() {
|
||||
const pages = getCurrentPages()
|
||||
if (pages.length > 1) uni.navigateBack()
|
||||
|
||||
@@ -107,10 +107,6 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
/**
|
||||
* 收付款单列表。四类单据共用一页,靠 fund_type 分流。
|
||||
* 草稿只登记不核销,确认后后端才写核销明细并回写往来账余额。
|
||||
*/
|
||||
import { computed, ref } from 'vue'
|
||||
import { onLoad, onReachBottom, onShow } from '@dcloudio/uni-app'
|
||||
import FaIcon from '@/components/FaIcon.vue'
|
||||
@@ -131,7 +127,6 @@ const status = ref('')
|
||||
const keyword = ref('')
|
||||
const dateFrom = ref('')
|
||||
const dateTo = ref('')
|
||||
/** 从客商页带过来时只看这一家的收付款 */
|
||||
const partnerScope = ref('')
|
||||
|
||||
const sumText = computed(() => {
|
||||
|
||||
Reference in new issue
Block a user