换标出库143
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
"name" : "海亮铜箔",
|
||||
"appid" : "__UNI__3A002CD",
|
||||
"description" : "海亮铜箔二期手持系统",
|
||||
"versionName" : "1.4.2",
|
||||
"versionCode" : 142,
|
||||
"versionName" : "1.4.3",
|
||||
"versionCode" : 143,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
|
||||
@@ -734,6 +734,14 @@
|
||||
}
|
||||
|
||||
}
|
||||
,{
|
||||
"path" : "pages/SecondPhase/finished/RelabelOut",
|
||||
"style" :
|
||||
{
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
// "pageOrientation": "landscape",
|
||||
|
||||
67
pages/SecondPhase/finished/RelabelOut.vue
Normal file
67
pages/SecondPhase/finished/RelabelOut.vue
Normal file
@@ -0,0 +1,67 @@
|
||||
<template>
|
||||
<view class="zd_container">
|
||||
<!-- <nav-bar title="换标出库"></nav-bar> -->
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="filter_item">
|
||||
<view class="filter_label_wraper">
|
||||
<span class="filter_label">木箱号</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<search-box v-model="val1" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submitbar">
|
||||
<button class="zd-col-6 btn-submit btn-default letter-30" @tap="clearUp">清空</button>
|
||||
<button class="zd-col-15 btn-submit btn-success letter-30" :class="{'btn-info': !val1}" :disabled="disabled" @tap="_vehicleRelabel">确定</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import {vehicleRelabel} from '@/utils/getData3.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
SearchBox
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
title: '',
|
||||
val1: '',
|
||||
disabled: false
|
||||
};
|
||||
},
|
||||
onLoad (options) {
|
||||
this.title = options.title
|
||||
},
|
||||
methods: {
|
||||
async _vehicleRelabel () {
|
||||
this.disabled = true
|
||||
if (!this.val1) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
try {
|
||||
let res = await vehicleRelabel(this.val1)
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
}
|
||||
},
|
||||
clearUp () {
|
||||
this.val1 = ''
|
||||
this.disabled = false
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -55,7 +55,7 @@
|
||||
data() {
|
||||
return {
|
||||
title: '',
|
||||
options: [{value: '1', text: '返检入库'}, {value: '2', text: '改切入库'}, {value: '0001', text: '生产入库'}, {value: '0009', text: '手工入库'}],
|
||||
options: [{value: '1', text: '返检入库'}, {value: '2', text: '改切入库'}, {value: '0001', text: '生产入库'}, {value: '0012', text: '换标入库'}, {value: '0009', text: '手工入库'}],
|
||||
index: '',
|
||||
val1: '',
|
||||
val2: '',
|
||||
|
||||
@@ -633,4 +633,11 @@ export const emptyTubeVehicleOut = (point, code) => request({
|
||||
export const getTubeVehicleInfo = (point) => request({
|
||||
url:'api/pda/slitter/getTubeVehicleInfo',
|
||||
data: {point_code: point}
|
||||
})
|
||||
/**
|
||||
* 换标出库
|
||||
*/
|
||||
export const vehicleRelabel = (code) => request({
|
||||
url:'api/twoPda/vehicle/relabel',
|
||||
data: {box_no: code}
|
||||
})
|
||||
@@ -127,7 +127,8 @@ export const allAuthority = () => {
|
||||
{menu_id: '7', path: 'RF06', title: '成品入库', sonTree: [
|
||||
{menu_id: '1', title: '退货口入库', path: '/pages/SecondPhase/finished/ReturnToStore'},
|
||||
{menu_id: '2', title: '异常口入库', path: '/pages/SecondPhase/finished/abnorToStore'},
|
||||
{menu_id: '3', title: '木箱称重', path: '/pages/SecondPhase/finished/BoxWeight'}
|
||||
{menu_id: '3', title: '木箱称重', path: '/pages/SecondPhase/finished/BoxWeight'},
|
||||
{menu_id: '4', title: '换标出库', path: '/pages/SecondPhase/finished/RelabelOut'}
|
||||
]},
|
||||
{menu_id: '8', path: 'RF13', title: '立库库存', sonTree: [
|
||||
{menu_id: '1', title: '空木箱库存', path: '/pages/SecondPhase/lvt/EmptyBox'}
|
||||
|
||||
Reference in New Issue
Block a user