子卷入库修改
This commit is contained in:
@@ -12,6 +12,15 @@
|
|||||||
<search-box v-model="val1" @handleChange="handleChange" />
|
<search-box v-model="val1" @handleChange="handleChange" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="filter_item">
|
||||||
|
<view class="filter_label_wraper">
|
||||||
|
<span class="filter_label filter_label_1"></span>
|
||||||
|
</view>
|
||||||
|
<view class="filter_input_wraper filter_input_wraper_1">
|
||||||
|
<view class="iconfont icon_unchecked" :class="{'icon_checked': isV === '1'}" @tap="isVirtual"></view>
|
||||||
|
<view class="filter_input_wraper_inn_text">直接入库</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="zd_wrapper grid-wraper">
|
<view class="zd_wrapper grid-wraper">
|
||||||
<view class="slide_new">
|
<view class="slide_new">
|
||||||
@@ -72,7 +81,8 @@
|
|||||||
val1: '',
|
val1: '',
|
||||||
arr1: [],
|
arr1: [],
|
||||||
dataList: [],
|
dataList: [],
|
||||||
disabled: false
|
disabled: false,
|
||||||
|
isV: '0'
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
@@ -82,6 +92,9 @@
|
|||||||
this.title = options.title
|
this.title = options.title
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
isVirtual () {
|
||||||
|
this.isV = this.isV === '0' ? '1' : '0'
|
||||||
|
},
|
||||||
handleChange (e) {
|
handleChange (e) {
|
||||||
let flag = this.arr1.includes(e)
|
let flag = this.arr1.includes(e)
|
||||||
if (!flag) {
|
if (!flag) {
|
||||||
@@ -102,6 +115,7 @@
|
|||||||
this.arr1 = []
|
this.arr1 = []
|
||||||
this.dataList = []
|
this.dataList = []
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
|
this.isV = '0'
|
||||||
},
|
},
|
||||||
async _zjInBoundConfirm () {
|
async _zjInBoundConfirm () {
|
||||||
this.disabled = true
|
this.disabled = true
|
||||||
@@ -110,7 +124,7 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
let res = await zjInBoundConfirm(this.arr1.join(','))
|
let res = await zjInBoundConfirm(this.arr1.join(','), this.isV)
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
|
|||||||
@@ -337,9 +337,9 @@ export const zjInBound = (code) => request({
|
|||||||
url:'api/pdmBiSubpackagerelation/zjInBound',
|
url:'api/pdmBiSubpackagerelation/zjInBound',
|
||||||
data: {container_name: code}
|
data: {container_name: code}
|
||||||
})
|
})
|
||||||
export const zjInBoundConfirm = (code) => request({
|
export const zjInBoundConfirm = (code, inb) => request({
|
||||||
url:'api/pdmBiSubpackagerelation/zjInBoundConfirm',
|
url:'api/pdmBiSubpackagerelation/zjInBoundConfirm',
|
||||||
data: {search: code}
|
data: {search: code, inbound: inb}
|
||||||
})
|
})
|
||||||
/**
|
/**
|
||||||
* 分切呼叫送轴(分切管理)
|
* 分切呼叫送轴(分切管理)
|
||||||
|
|||||||
Reference in New Issue
Block a user