分切上料修改
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
"name" : "海亮铜箔",
|
"name" : "海亮铜箔",
|
||||||
"appid" : "__UNI__3A002CD",
|
"appid" : "__UNI__3A002CD",
|
||||||
"description" : "海亮铜箔二期手持系统",
|
"description" : "海亮铜箔二期手持系统",
|
||||||
"versionName" : "1.4.6",
|
"versionName" : "1.4.1",
|
||||||
"versionCode" : 146,
|
"versionCode" : 141,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
|||||||
@@ -116,8 +116,9 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="zd-row submitbar">
|
<view class="zd-row submitbar">
|
||||||
<button class="zd-col-11 btn-submit btn-default letter-30" @tap="cancleModal">取消</button>
|
<button class="zd-col-6 btn-submit btn-default letter-30" @tap="cancleModal">取消</button>
|
||||||
<button class="zd-col-11 btn-submit btn-success letter-30" @tap="modalToSure">确认</button>
|
<button class="zd-col-8 btn-submit btn-success letter-30" @tap="modalToSure">确认</button>
|
||||||
|
<button class="zd-col-8 btn-submit btn-success letter-30" @tap="moveContainer">母卷转移</button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="active" class="msg_mask"></view>
|
<view v-if="active" class="msg_mask"></view>
|
||||||
@@ -129,7 +130,7 @@
|
|||||||
import NavBar from '@/components/NavBar.vue'
|
import NavBar from '@/components/NavBar.vue'
|
||||||
import SearchBox from '@/components/SearchBox.vue'
|
import SearchBox from '@/components/SearchBox.vue'
|
||||||
import UpTop from '@/components/upTop.vue'
|
import UpTop from '@/components/upTop.vue'
|
||||||
import {queryProductArea, feedingQueryMaterialInfo, feedingConfirm, feedingQueryPoint, feedingHandleConfirm, feedingVehicleReturn} from '@/utils/getData2.js'
|
import {queryProductArea, feedingQueryMaterialInfo, feedingConfirm, feedingQueryPoint, feedingHandleConfirm, feedingVehicleReturn, moveContainer} from '@/utils/getData2.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
@@ -302,6 +303,42 @@
|
|||||||
this.disabled1 = false
|
this.disabled1 = false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
/** 母卷转移 */
|
||||||
|
async moveContainer () {
|
||||||
|
this.disabled1 = true
|
||||||
|
if (!this.val3) {
|
||||||
|
this.disabled1 = false
|
||||||
|
uni.showToast({
|
||||||
|
title: '起点不能为空',
|
||||||
|
icon: 'none'
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if (!this.val4) {
|
||||||
|
this.disabled1 = false
|
||||||
|
uni.showToast({
|
||||||
|
title: '母卷号不能为空',
|
||||||
|
icon: 'none'
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
let res = await moveContainer(this.val3, this.val4)
|
||||||
|
this.disabled1 = false
|
||||||
|
this.active = false
|
||||||
|
this.val3 = ''
|
||||||
|
this.val4 = ''
|
||||||
|
this.val5 = ''
|
||||||
|
this.pkId = ''
|
||||||
|
this.searchList()
|
||||||
|
uni.showToast({
|
||||||
|
title: res.message,
|
||||||
|
icon: 'none'
|
||||||
|
})
|
||||||
|
} catch (e) {
|
||||||
|
this.disabled1 = false
|
||||||
|
}
|
||||||
|
},
|
||||||
/** 空轴送回 */
|
/** 空轴送回 */
|
||||||
async _feedingVehicleReturn (type) {
|
async _feedingVehicleReturn (type) {
|
||||||
this.disabled2 = true
|
this.disabled2 = true
|
||||||
|
|||||||
@@ -418,7 +418,14 @@ export const feedingVehicleReturn = (code, type) => request({
|
|||||||
type: type
|
type: type
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
// 1.6母卷转移
|
||||||
|
export const moveContainer = (code, cn) => request({
|
||||||
|
url:'api/pda/feeding/moveContainer',
|
||||||
|
data: {
|
||||||
|
point_code: code,
|
||||||
|
container_name: cn,
|
||||||
|
}
|
||||||
|
})
|
||||||
/**
|
/**
|
||||||
* 任务管理
|
* 任务管理
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user