一期修改
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
"button.confirm-receipt": "Confirm receipt",
|
"button.confirm-receipt": "Confirm receipt",
|
||||||
"button.confirm-outbound": "Confirm outbound",
|
"button.confirm-outbound": "Confirm outbound",
|
||||||
"button.empty-shaft-return": "Empty shaft return",
|
"button.empty-shaft-return": "Empty shaft return",
|
||||||
|
"button.full-shaft-return": "Full shaft return",
|
||||||
"button.through-shaft-confirm": "Through shaft confirm",
|
"button.through-shaft-confirm": "Through shaft confirm",
|
||||||
"button.pull-shaft-confirm": "Pull shaft confirm",
|
"button.pull-shaft-confirm": "Pull shaft confirm",
|
||||||
"button.overlap-shaft-confirm": "Overlap shaft confirm",
|
"button.overlap-shaft-confirm": "Overlap shaft confirm",
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
"button.confirm-receipt": "Konfirmasi penerimaan",
|
"button.confirm-receipt": "Konfirmasi penerimaan",
|
||||||
"button.confirm-outbound": "Konfirmasi keluar",
|
"button.confirm-outbound": "Konfirmasi keluar",
|
||||||
"button.empty-shaft-return": "Kembali shaft kosong",
|
"button.empty-shaft-return": "Kembali shaft kosong",
|
||||||
|
"button.full-shaft-return": "Paksi penuh kembali",
|
||||||
"button.through-shaft-confirm": "Melalui konfirmasi shaft",
|
"button.through-shaft-confirm": "Melalui konfirmasi shaft",
|
||||||
"button.pull-shaft-confirm": "Pull shaft konfirmasi",
|
"button.pull-shaft-confirm": "Pull shaft konfirmasi",
|
||||||
"button.overlap-shaft-confirm": "Konfirmasi paksi Overlap",
|
"button.overlap-shaft-confirm": "Konfirmasi paksi Overlap",
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
"button.confirm-receipt": "确认入库",
|
"button.confirm-receipt": "确认入库",
|
||||||
"button.confirm-outbound": "确认出库",
|
"button.confirm-outbound": "确认出库",
|
||||||
"button.empty-shaft-return": "空轴送回",
|
"button.empty-shaft-return": "空轴送回",
|
||||||
|
"button.full-shaft-return": "满轴送回",
|
||||||
"button.through-shaft-confirm": "穿轴确认",
|
"button.through-shaft-confirm": "穿轴确认",
|
||||||
"button.pull-shaft-confirm": "拔轴确认",
|
"button.pull-shaft-confirm": "拔轴确认",
|
||||||
"button.overlap-shaft-confirm": "套轴确认",
|
"button.overlap-shaft-confirm": "套轴确认",
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
<view class="submit-bar">
|
<view class="submit-bar">
|
||||||
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2 || !val3 || !val4}" :disabled="disabled" @tap="_ovenInAndOut1('1')">入箱</button>
|
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2 || !val3 || !val4}" :disabled="disabled" @tap="_ovenInAndOut1('1')">入箱</button>
|
||||||
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled" @tap="_ovenInAndOut2('2')">出箱</button>
|
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled" @tap="_ovenInAndOut2('2')">出箱</button>
|
||||||
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled3" @tap="_inCoolIvt">入冷却</button>
|
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled3" @tap="_inCoolIvt">质检合格</button>
|
||||||
<button class="submit-button" :class="{'btn-disabled': !val1}" :disabled="disabled4" @tap="_bakingrelease">解警</button>
|
<button class="submit-button" :class="{'btn-disabled': !val1}" :disabled="disabled4" @tap="_bakingrelease">解警</button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -136,7 +136,8 @@
|
|||||||
let res = await taskQuerydevice([{product_area: this.index1, device_code: this.index2}])
|
let res = await taskQuerydevice([{product_area: this.index1, device_code: this.index2}])
|
||||||
let data = res.data[0]
|
let data = res.data[0]
|
||||||
this.qty = data.qty
|
this.qty = data.qty
|
||||||
this._queryPaperMaterial(data.material_code)
|
// this._queryPaperMaterial(data.material_code)
|
||||||
|
this.index3 = data.material_code
|
||||||
},
|
},
|
||||||
/** 确认 */
|
/** 确认 */
|
||||||
async _emptyConfirm () {
|
async _emptyConfirm () {
|
||||||
|
|||||||
@@ -114,6 +114,9 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
searchList () {
|
searchList () {
|
||||||
|
this.pkId = ''
|
||||||
|
this.pkObj = {}
|
||||||
|
this.totalCount = 0
|
||||||
this.dataList = []
|
this.dataList = []
|
||||||
this.pageNum = 1
|
this.pageNum = 1
|
||||||
this._queryRawFoilList()
|
this._queryRawFoilList()
|
||||||
|
|||||||
@@ -100,10 +100,11 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="more_btns_wraper" :class="btn_active ? 'popshow' : 'pophide'">
|
<view class="more_btns_wraper" :class="btn_active ? 'popshow' : 'pophide'">
|
||||||
<view class="more_btns_items">
|
<view class="more_btns_items">
|
||||||
<button class="more-button" :class="{'btn-disabled': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn">{{$t('button.empty-shaft-return')}}</button>
|
<button class="more-button" :class="{'btn-disabled': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn('2')">{{$t('button.full-shaft-return')}}</button>
|
||||||
|
<button class="more-button" :class="{'btn-disabled': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn('1')">{{$t('button.empty-shaft-return')}}</button>
|
||||||
<button class="more-button" @tap="handleSure">{{$t('button.manual-call')}}</button>
|
<button class="more-button" @tap="handleSure">{{$t('button.manual-call')}}</button>
|
||||||
</view>
|
</view>
|
||||||
<view class="more_btns_cancle" @tap="btn_active = false">取消</view>
|
<view class="more_btns_cancle" @tap="btn_active = false">{{$t('button.cancel')}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="btn_active" class="msg_mask"></view>
|
<view v-if="btn_active" class="msg_mask"></view>
|
||||||
<view v-if="active" class="msg_wrapper msg_wrapper_1">
|
<view v-if="active" class="msg_wrapper msg_wrapper_1">
|
||||||
@@ -320,7 +321,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/** 空轴送回 */
|
/** 空轴送回 */
|
||||||
async _feedingVehicleReturn () {
|
async _feedingVehicleReturn (type) {
|
||||||
this.disabled2 = true
|
this.disabled2 = true
|
||||||
if (!this.val1) {
|
if (!this.val1) {
|
||||||
this.disabled2 = false
|
this.disabled2 = false
|
||||||
@@ -332,7 +333,7 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
let res = await feedingVehicleReturn(this.val1)
|
let res = await feedingVehicleReturn(this.val1, type)
|
||||||
this.disabled2 = false
|
this.disabled2 = false
|
||||||
this.active = false
|
this.active = false
|
||||||
this.val1 = ''
|
this.val1 = ''
|
||||||
|
|||||||
@@ -632,10 +632,11 @@ export const feedingHandleConfirm = (code, cn, ncode) => request({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
// 1.5空轴送回
|
// 1.5空轴送回
|
||||||
export const feedingVehicleReturn = (code) => request({
|
export const feedingVehicleReturn = (code, type) => request({
|
||||||
url:'api/pda/feeding/vehicleReturn',
|
url:'api/pda/feeding/vehicleReturn',
|
||||||
data: {
|
data: {
|
||||||
point_code: code
|
point_code: code,
|
||||||
|
type: type
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user