This commit is contained in:
2022-11-28 14:59:47 +08:00
parent 469079c1fd
commit 4eb7d254ca
4 changed files with 8 additions and 9 deletions

View File

@@ -52,7 +52,7 @@
</view>
<view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !dataList.length}" :disabled="disabled1" @tap="_stoutConfirm">出库确认</button>
<button class="submit-button" @tap="_queryRawFoilList">查询</button>
<button class="submit-button" @tap="_stivtQuery">查询</button>
</view>
</view>
</template>

View File

@@ -75,10 +75,9 @@
disabled1: false
};
},
created () {
},
onLoad (option) {
this.billCode = option.bill_code
this.billCode = option.billcode
this._virtualivtQuery()
},
methods: {
goIn () {
@@ -99,7 +98,7 @@
try {
let res = await virtualoutConfirm(this.dataList, this.val1)
this.disabled1 = false
this._virtualivtQuery()
this.val1 = ''
uni.showToast({
title: res.message,
icon: 'none'

View File

@@ -21,7 +21,7 @@
</view>
<view v-if="show === true" class="sec_menu_wraper">
<view class="sec_menu_w">
<view class="menu-item" v-for="e in secM" :key="i" @click="toPage2(e)">
<view class="menu-item" v-for="(e, i) in secM" :key="i" @click="toPage2(e)">
<view class="sec_menu-col_inner">
<view class="menu-name menu-name_inner">{{e.name}}</view>
</view>

View File

@@ -68,9 +68,9 @@
})
},
async toLogin() {
// uni.redirectTo({
// url: '/pages/home/home'
// })
uni.redirectTo({
url: '/pages/home/home'
})
this.disabled = true
if (this.user === '') {
uni.showToast({