剩余模块:生产入库,销售出库

This commit is contained in:
2025-05-20 14:40:44 +08:00
parent 14a5fa371b
commit 933ddab8f3
68 changed files with 8868 additions and 13081 deletions

View File

@@ -1,12 +1,12 @@
<template>
<view class="app status-bar-gap">
<view class="page">
<l-header title="生产装箱" sticky #right>
<view style="margin-right: 32rpx;" @click="fnToUrl()">添加</view>
<l-header :title="t('index.zxddh')" 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('receive.djbh')" border="none" clearable inputAlign="left"
<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>
@@ -18,8 +18,8 @@
<scroll-view id="scroll-box" class="scroll-box" scroll-y="true"
:style="{'height':state.scrollHeight+'px'}" @scrolltolower="fnScrollBottom()">
<view class="list-box-list" v-if="state.dataList.length > 0">
<view class="data-item" v-for="(item, index) in state.dataList" :key="index">
<view class="tit">装箱单单号{{item.FBillNo}}</view>
<view class="data-item" v-for="(item, index) in state.dataList" :key="index" @click="toPrintFun(item)">
<view class="tit">{{ t('index.zxddh') }}{{item.FBillNo}}</view>
<view class="line-p"></view>
<view class="b-font">{{ t('receive.rq') }}{{item.FDateFormat}}</view>
</view>
@@ -76,6 +76,10 @@
const fnToUrl = () => {
toPages('/pages/encasement/material')
}
const toPrintFun = (row:any) => {
console.log(row);
toPages('/pages/encasement/print',{...row})
}
const debounceTimer = ref()
const changeFun = (e : any) => {
if (debounceTimer.value !== null) clearTimeout(debounceTimer.value)