剩余模块:生产退料

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,5 +1,5 @@
<template>
<up-popup :show="state.show" @close="close">
<up-popup :show="state.show" @close="close" @open="open">
<view class="input-box">
<view class="input-item">
<up-input :placeholder="t('public.xzck')" border="none" clearable inputAlign="left"
@@ -82,7 +82,7 @@
import { fStockFlexDetailList } from '../../common/request/api/api';
const getI18n = useI18n()
const { t, locale } = getI18n
const eimts = defineEmits(['dataToscanFrame'])
const eimts = defineEmits(['dataToscanFrame','boxShow'])
const state = reactive({
show: false,
warehouse: false,
@@ -132,7 +132,13 @@
}
});
}
const close = () => { state.show = false }
const close = () => {
state.show = false
eimts('boxShow', state.show)
}
const open = () => {
eimts('boxShow', state.show)
}
const dataToscanFrameFun = () => {
if (state.shortcut.warehouseStr !== '' && state.NoLocationList && state.shortcut.locationStr === '') {
uni.$u.toast(t('public.qxzcw'))
@@ -144,6 +150,8 @@
warehouseData: state.warehouseData,
locationData: state.locationData,
})
state.show = false
eimts('boxShow', state.show)
}
const dataResetFun = () => {
state.shortcut = {
@@ -228,7 +236,6 @@
state.shortcut.locationStr = item.FFlexValueName
state.location = false
}
const toPages = (url : string, data : any = {}) => {
uni.$u.route({
url: url,