剩余模块:生产退料

This commit is contained in:
2025-06-03 02:55:34 +08:00
parent eb2c8d2d7a
commit a12f56d2be
100 changed files with 9219 additions and 7499 deletions

View File

@@ -1,19 +1,11 @@
<template>
<view class="app status-bar-gap">
<view class="page">
<l-header :title="t('index.zxddh')" sticky #right>
<l-header :title="t('index.sczx')" sticky #right>
<view style="margin-right: 32rpx;" @click="fnToUrl()">{{ t('index.tj') }}</view>
</l-header>
<view class="input-box">
<view class="input-item">
<up-input :placeholder="t('index.zxddh')" border="none" clearable inputAlign="left"
v-model="state.queryString" @change="changeFun">
<template #prefix>
<up-icon name="search" color="#2979ff" size="24"></up-icon>
</template>
</up-input>
</view>
</view>
<architecture ref="architectureRef" :dataType="t('index.zxddh')" :placeholder="t('index.zxddh')"
@scanConfirm="scanConfirmFun" @inputConfirm="changeFun" />
<view class="receive-listBox" ref="listBoxRef">
<scroll-view id="scroll-box" class="scroll-box" scroll-y="true" :style="{'height':state.scrollHeight+'px'}"
@scrolltolower="fnScrollBottom()">
@@ -39,6 +31,7 @@
import { useI18n } from 'vue-i18n'
import { parseTime } from '../../utils/tools.js';
import { BarcodePackBillList, PRD_MORPTList, SAL_DELIVERYNOTICEList, receiveBillList } from '../../common/request/api/api';
const architectureRef = ref()
const listBoxRef = ref(null)
const getI18n = useI18n()
const { t, locale } = getI18n
@@ -63,6 +56,13 @@
}).exec();
fnDataList()
})
const scanConfirmFun = (e : any) => {
state.queryString = e
state.page.pageIndex = 1
state.dataList = []
fnDataList()
architectureRef.value.closeFun()
}
const fnScrollBottom = () => {
console.log(state.page.pageIndex * state.page.pageSize, state.page.totalCount);
if (state.page.pageIndex * state.page.pageSize <= state.page.totalCount) {
@@ -88,7 +88,7 @@
state.page.pageIndex = 1
state.dataList = []
fnDataList()
}, 500)
})
}
const fnDataList = () => {
let param = {