生箔工序加字段

This commit is contained in:
蔡玲
2024-12-24 14:38:41 +08:00
parent 2dc449a68c
commit 374daf6907
4 changed files with 53 additions and 6 deletions

View File

@@ -222,6 +222,20 @@ uni-button:after {
.filter_input_disabled {
background-color: #eee;
}
.filter_tip {
top: 80rpx;
color: #ff6a00;
font-size: 22rpx;
line-height: 30rpx;
padding: 0 15rpx;
}
.filter_unit {
width: 70rpx;
font-size: 28rpx;
color: #606266;
text-align: right;
margin-left: 10rpx;
}
.scan_input {
width: 100%;
height: 80rpx;

View File

@@ -27,6 +27,9 @@ input[type="button"], input[type="submit"], input[type="search"], input[type="re
.relative {
position: relative;
}
.absolute {
position: absolute;
}
.hide {
display: none;
}
@@ -137,6 +140,12 @@ input[type="button"], input[type="submit"], input[type="search"], input[type="re
.mgb10 {
margin-bottom: 10rpx;
}
.mgb20 {
margin-bottom: 20rpx;
}
.mgb40 {
margin-bottom: 40rpx !important;
}
.mgr20 {
margin-right: 20rpx;
}

View File

@@ -29,11 +29,31 @@
<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="filter_input_wraper filter_input_wraper_1 mgb20">
<view class="iconfont icon_unchecked" :class="{'icon_checked': isV === '1'}" @tap="isVirtual">&#xe66b;</view>
<view class="filter_input_wraper_inn_text">是否大车</view>
<view class="filter_input_wraper_inn_text">是否大车(A2车间使用)</view>
</view>
</view>
<view class="filter_item mgb40">
<view class="filter_label_wraper">
<span class="filter_label">温度</span>
</view>
<view class="relative filter_input_wraper">
<view class="absolute filter_tip">B2车间需要输入温度</view>
<input type="number" class="filter_input" v-model="val3">
</view>
<view class="filter_unit"></view>
</view>
<view class="filter_item mgb40">
<view class="filter_label_wraper">
<span class="filter_label">时间</span>
</view>
<view class="relative filter_input_wraper">
<view class="absolute filter_tip">B2车间需要输入时间</view>
<input type="number" class="filter_input" v-model="val4">
</view>
<view class="filter_unit">小时</view>
</view>
</view>
<view class="zd_wrapper grid-wraper">
<view class="slide_new">
@@ -118,7 +138,9 @@
totalCount: 0,
pageNum: 1,
pageSize: 10,
isV: '0'
isV: '0',
val3: '',
val4: ''
};
},
created () {
@@ -180,7 +202,7 @@
return
}
try {
let res = await needEmptyAxis(this.pkObj, this.isV)
let res = await needEmptyAxis(this.pkObj, this.isV, this.val3, this.val4)
this.disabled1 = false
this.pkId = ''
this.pkObj = {}

View File

@@ -35,11 +35,13 @@ export const queryRawFoilList = (pcode, cname, page, size) => request({
}
})
// 1.2呼叫
export const needEmptyAxis = (rjo, type) => request({
export const needEmptyAxis = (rjo, type, temperature, hours) => request({
url: 'api/pda/raw/needEmptyAxis',
data: {
raw_jo: rjo,
big_type: type
big_type: type,
temperature: temperature,
hours: hours
}
})
// 1.3呼叫空轴