剩余模块:生产退料

This commit is contained in:
2025-06-09 22:07:10 +08:00
parent 63a44af1d8
commit 03e22dd9f6
77 changed files with 2832 additions and 817 deletions

View File

@@ -13,8 +13,8 @@
<tki-qrcode cid="qrcode" ref="qrcode" :val="state.inputText" :size="170" unit="upx" :loadMake="true"
:usingComponents="true" />
<view class="codeBoxText">
<view>单据{{ props.dataType }}</view>
<view>编码</view>
<view>{{ t('receive.djbh1') }}{{ props.dataType }}</view>
<view>{{ t('receive.code') }}</view>
<view class="container chinese-text">{{ state.inputText }}</view>
</view>
</view>
@@ -53,6 +53,10 @@
})
watch(()=> props.fence,(val1,val2) => {
console.log(val1,val2);
if (props.fence.filter((item : any) => item).length !== 0) {
state.inputText = ''
state.show = true
}
})
const state = reactive({
inputText: '',
@@ -70,7 +74,7 @@
const confirmfun = (e : any) => {
emits('inputConfirm', e)
}
const closeFun = (time : number = 2000) => {
const closeFun = (time : number = 4000) => {
setTimeout(() => {
state.inputText = ''
state.show = true