change
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-6 button-default" @tap="clearUp">清空</button>
|
||||
<button class="zd-col-16 button-primary" :class="{'button-info': !this.val2 || !this.dataList.length}" :disabled="disabled" @tap="_groupPlate">组盘确认</button>
|
||||
<button class="zd-col-16 button-primary" :class="{'button-info': !this.val2 || !this.dataList.length}" :disabled="disabled" @tap="_groupPlateRk">组盘确认</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -64,7 +64,7 @@
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import NumberInput from '@/components/NumberInput.vue'
|
||||
import {groupPlate} from '@/utils/getData3.js'
|
||||
import {groupPlateRk} from '@/utils/getData3.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
@@ -149,7 +149,7 @@
|
||||
this.val2 = ''
|
||||
this.disabled = false
|
||||
},
|
||||
async _groupPlate () {
|
||||
async _groupPlateRk () {
|
||||
this.disabled = true
|
||||
if (!this.val2 || !this.dataList.length) {
|
||||
this.disabled = false
|
||||
@@ -167,7 +167,7 @@
|
||||
// return
|
||||
// }
|
||||
try {
|
||||
let res = await groupPlate(this.dataList, this.val2, this.val1, JSON.parse(this.$store.getters.userInfo).user.user_id)
|
||||
let res = await groupPlateRk(this.dataList, this.val2, this.val1, JSON.parse(this.$store.getters.userInfo).user.user_id)
|
||||
if (res.code === '200') {
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
Reference in New Issue
Block a user