剩余模块:生产退料
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user