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>
<view class="submit-bar"> <view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !dataList.length}" :disabled="disabled1" @tap="_stoutConfirm">出库确认</button> <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>
</view> </view>
</template> </template>

View File

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

View File

@@ -21,7 +21,7 @@
</view> </view>
<view v-if="show === true" class="sec_menu_wraper"> <view v-if="show === true" class="sec_menu_wraper">
<view class="sec_menu_w"> <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="sec_menu-col_inner">
<view class="menu-name menu-name_inner">{{e.name}}</view> <view class="menu-name menu-name_inner">{{e.name}}</view>
</view> </view>

View File

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