删除二期生箔工序呼叫大车,增加一期生箔工序呼叫大车
This commit is contained in:
@@ -25,6 +25,15 @@
|
||||
/>
|
||||
</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 class="zd_wrapper grid-wraper">
|
||||
<view class="slide_new">
|
||||
@@ -108,7 +117,8 @@
|
||||
},
|
||||
totalCount: 0,
|
||||
pageNum: 1,
|
||||
pageSize: 10
|
||||
pageSize: 10,
|
||||
isV: '0'
|
||||
};
|
||||
},
|
||||
created () {
|
||||
@@ -121,6 +131,9 @@
|
||||
this.title = options.title
|
||||
},
|
||||
methods: {
|
||||
isVirtual () {
|
||||
this.isV = this.isV === '0' ? '1' : '0'
|
||||
},
|
||||
searchList () {
|
||||
this.pkId = ''
|
||||
this.pkObj = {}
|
||||
@@ -167,7 +180,7 @@
|
||||
return
|
||||
}
|
||||
try {
|
||||
let res = await needEmptyAxis(this.pkObj)
|
||||
let res = await needEmptyAxis(this.pkObj, this.isV)
|
||||
this.disabled1 = false
|
||||
this.pkId = ''
|
||||
this.pkObj = {}
|
||||
|
||||
@@ -32,15 +32,6 @@
|
||||
<button class="btn-submit btn-success" @tap="searchList">查询</button>
|
||||
</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 class="zd_wrapper grid-wraper">
|
||||
<view class="slide_new">
|
||||
@@ -128,8 +119,7 @@
|
||||
},
|
||||
totalCount: 0,
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
isV: '0'
|
||||
pageSize: 10
|
||||
};
|
||||
},
|
||||
onLoad (options) {
|
||||
@@ -145,9 +135,6 @@
|
||||
this.$refs.scanChild.handleFocus()
|
||||
},
|
||||
methods: {
|
||||
isVirtual () {
|
||||
this.isV = this.isV === '0' ? '1' : '0'
|
||||
},
|
||||
searchList () {
|
||||
this.pkId = ''
|
||||
this.pkObj = {}
|
||||
@@ -191,7 +178,7 @@
|
||||
async _needEmptyAxis () {
|
||||
this.disabled1 = true
|
||||
try {
|
||||
let res = await needEmptyAxis(this.val1, this.val2, this.isV)
|
||||
let res = await needEmptyAxis(this.val1, this.val2)
|
||||
this.disabled1 = false
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
@@ -35,10 +35,11 @@ export const queryRawFoilList = (pcode, cname, page, size) => request({
|
||||
}
|
||||
})
|
||||
// 1.2呼叫
|
||||
export const needEmptyAxis = (rjo) => request({
|
||||
export const needEmptyAxis = (rjo, type) => request({
|
||||
url: 'api/pda/raw/needEmptyAxis',
|
||||
data: {
|
||||
raw_jo: rjo
|
||||
raw_jo: rjo,
|
||||
big_type: type
|
||||
}
|
||||
})
|
||||
// 1.3呼叫空轴
|
||||
|
||||
@@ -84,12 +84,11 @@ export const surfaceConfirm = (code) => request({
|
||||
* 生箔工序
|
||||
*/
|
||||
// 1.1呼叫
|
||||
export const needEmptyAxis = (code, name, type) => request({
|
||||
export const needEmptyAxis = (code, name) => request({
|
||||
url: 'api/pda/raw/needEmptyAxis',
|
||||
data: {
|
||||
point_code: code,
|
||||
container_name: name,
|
||||
big_type: type
|
||||
container_name: name
|
||||
}
|
||||
})
|
||||
// 创建工单
|
||||
|
||||
Reference in New Issue
Block a user