生箔工序

This commit is contained in:
蔡玲
2024-11-04 15:02:55 +08:00
parent 077a249556
commit 18918d272b
2 changed files with 18 additions and 4 deletions

View File

@@ -32,6 +32,15 @@
<button class="btn-submit btn-success" @tap="searchList">查询</button> <button class="btn-submit btn-success" @tap="searchList">查询</button>
</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">&#xe66b;</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">
@@ -119,7 +128,8 @@
}, },
totalCount: 0, totalCount: 0,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10,
isV: '0'
}; };
}, },
onLoad (options) { onLoad (options) {
@@ -135,6 +145,9 @@
this.$refs.scanChild.handleFocus() this.$refs.scanChild.handleFocus()
}, },
methods: { methods: {
isVirtual () {
this.isV = this.isV === '0' ? '1' : '0'
},
searchList () { searchList () {
this.pkId = '' this.pkId = ''
this.pkObj = {} this.pkObj = {}
@@ -178,7 +191,7 @@
async _needEmptyAxisTest () { async _needEmptyAxisTest () {
this.disabled1 = true this.disabled1 = true
try { try {
let res = await needEmptyAxisTest(this.val1, this.val2) let res = await needEmptyAxisTest(this.val1, this.val2, this.isV)
this.disabled1 = false this.disabled1 = false
uni.showToast({ uni.showToast({
title: res.message, title: res.message,

View File

@@ -84,11 +84,12 @@ export const surfaceConfirm = (code) => request({
* 生箔工序 * 生箔工序
*/ */
// 1.1呼叫 // 1.1呼叫
export const needEmptyAxisTest = (code, name) => request({ export const needEmptyAxisTest = (code, name, type) => request({
url: 'api/pda/raw/needEmptyAxisTest', url: 'api/pda/raw/needEmptyAxisTest',
data: { data: {
point_code: code, point_code: code,
container_name: name container_name: name,
big_type: type
} }
}) })
// 创建工单 // 创建工单