分切上料页面
This commit is contained in:
@@ -277,6 +277,26 @@ uni-button:after {
|
|||||||
margin: 0 40rpx 10rpx 0;
|
margin: 0 40rpx 10rpx 0;
|
||||||
border-radius: 30rpx;
|
border-radius: 30rpx;
|
||||||
}
|
}
|
||||||
|
.submit-bar_new {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 200;
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 10rpx 0;
|
||||||
|
box-shadow: 0 0 20rpx 0 rgba(160,160,160,0.7);
|
||||||
|
}
|
||||||
|
.submit-button_new {
|
||||||
|
font-size: 30rpx;
|
||||||
|
line-height: 62rpx;
|
||||||
|
color: #ff6a00;
|
||||||
|
padding: 0;
|
||||||
|
text-align: center;
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1px solid #ff6a00;
|
||||||
|
border-radius: 30rpx;
|
||||||
|
}
|
||||||
.btn-disabled, .submit-button[disabled] {
|
.btn-disabled, .submit-button[disabled] {
|
||||||
background-color: #c9c9c9;
|
background-color: #c9c9c9;
|
||||||
border: 1px solid #c9c9c9;
|
border: 1px solid #c9c9c9;
|
||||||
|
|||||||
@@ -41,3 +41,86 @@ input[type="button"], input[type="submit"], input[type="search"], input[type="re
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
.flexstart {
|
||||||
|
align-items: flex-start !important;
|
||||||
|
}
|
||||||
|
.jcflexstart {
|
||||||
|
justify-content: flex-start !important;
|
||||||
|
}
|
||||||
|
.zd-row {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.zd-col-24 {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.zd-col-23 {
|
||||||
|
width: 95.83333%
|
||||||
|
}
|
||||||
|
.zd-col-22 {
|
||||||
|
width: 91.66667%
|
||||||
|
}
|
||||||
|
.zd-col-21 {
|
||||||
|
width: 87.5%
|
||||||
|
}
|
||||||
|
.zd-col-20 {
|
||||||
|
width: 83.33333%
|
||||||
|
}
|
||||||
|
.zd-col-19 {
|
||||||
|
width: 79.16667%
|
||||||
|
}
|
||||||
|
.zd-col-18 {
|
||||||
|
width: 75%
|
||||||
|
}
|
||||||
|
.zd-col-17 {
|
||||||
|
width: 70.83333%
|
||||||
|
}
|
||||||
|
.zd-col-16 {
|
||||||
|
width: 66.66667%
|
||||||
|
}
|
||||||
|
.zd-col-15 {
|
||||||
|
width: 62.5%
|
||||||
|
}
|
||||||
|
.zd-col-14 {
|
||||||
|
width: 58.33333%
|
||||||
|
}
|
||||||
|
.zd-col-13 {
|
||||||
|
width: 54.16667%
|
||||||
|
}
|
||||||
|
.zd-col-12 {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
.zd-col-11 {
|
||||||
|
width: 45.83333%
|
||||||
|
}
|
||||||
|
.zd-col-10 {
|
||||||
|
width: 41.66667%
|
||||||
|
}
|
||||||
|
.zd-col-9 {
|
||||||
|
width: 37.5%
|
||||||
|
}
|
||||||
|
.zd-col-8 {
|
||||||
|
width: 33.33333%
|
||||||
|
}
|
||||||
|
.zd-col-7 {
|
||||||
|
width: 29.16667%
|
||||||
|
}
|
||||||
|
.zd-col-6 {
|
||||||
|
width: 25%
|
||||||
|
}
|
||||||
|
.zd-col-5 {
|
||||||
|
width: 20.83333%
|
||||||
|
}
|
||||||
|
.zd-col-4 {
|
||||||
|
width: 16.66667%
|
||||||
|
}
|
||||||
|
.zd-col-3 {
|
||||||
|
width: 12.5%
|
||||||
|
}
|
||||||
|
.zd-col-2 {
|
||||||
|
width: 8.33333%
|
||||||
|
}
|
||||||
|
.zd-col-1 {
|
||||||
|
width: 4.16667%
|
||||||
|
}
|
||||||
@@ -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>
|
||||||
|
|||||||
@@ -76,11 +76,12 @@
|
|||||||
</view>
|
</view>
|
||||||
<uni-load-more color="#007AFF" iconType="circle" :status="status" :icon-size="14" :content-text="contentText" v-if="dataList.length > 0"/>
|
<uni-load-more color="#007AFF" iconType="circle" :status="status" :icon-size="14" :content-text="contentText" v-if="dataList.length > 0"/>
|
||||||
</view>
|
</view>
|
||||||
<view class="submit-bar">
|
<view class="zd-row submit-bar_new">
|
||||||
<button class="submit-button" :class="{'btn-disabled': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn">空轴送回</button>
|
<button class="zd-col-5 submit-button_new" :class="{'btn-disabled': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn('2')">满轴送回</button>
|
||||||
<button class="submit-button" @tap="handleSure">人工呼叫</button>
|
<button class="zd-col-5 submit-button_new" :class="{'btn-disabled': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn('1')">空轴送回</button>
|
||||||
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled" @tap="toSure">呼叫</button>
|
<button class="zd-col-5 submit-button_new" @tap="handleSure">人工呼叫</button>
|
||||||
<button class="submit-button" @tap="searchList">查询</button>
|
<button class="zd-col-3 submit-button_new" :class="{'btn-disabled': !pkId}" :disabled="disabled" @tap="toSure">呼叫</button>
|
||||||
|
<button class="zd-col-3 submit-button_new" @tap="searchList">查询</button>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="active" class="msg_wrapper msg_wrapper_1">
|
<view v-if="active" class="msg_wrapper msg_wrapper_1">
|
||||||
<view class="msg_box">
|
<view class="msg_box">
|
||||||
@@ -287,7 +288,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/** 空轴送回 */
|
/** 空轴送回 */
|
||||||
async _feedingVehicleReturn () {
|
async _feedingVehicleReturn (type) {
|
||||||
this.disabled2 = true
|
this.disabled2 = true
|
||||||
if (!this.val1) {
|
if (!this.val1) {
|
||||||
this.disabled2 = false
|
this.disabled2 = false
|
||||||
@@ -298,7 +299,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 = ''
|
||||||
|
|||||||
@@ -457,7 +457,8 @@ export const feedingHandleConfirm = (code, cn, ncode) => request({
|
|||||||
export const feedingVehicleReturn = (code) => request({
|
export const feedingVehicleReturn = (code) => 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