确认处理
This commit is contained in:
@@ -117,12 +117,16 @@ uni-button:after {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 70rpx;
|
height: 70rpx;
|
||||||
line-height: 70rpx;
|
line-height: 70rpx;
|
||||||
border-bottom: 1px solid #dcdfe6;
|
border: 1px solid #dcdfe6;
|
||||||
|
background: #fff;
|
||||||
padding: 0 15rpx;
|
padding: 0 15rpx;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #606266;
|
color: #606266;
|
||||||
border-radius: 4rpx;
|
border-radius: 4rpx;
|
||||||
}
|
}
|
||||||
|
.filter_input:disabled {
|
||||||
|
background: #c9c9c9;
|
||||||
|
}
|
||||||
.grid-wraper {
|
.grid-wraper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,13 +22,13 @@
|
|||||||
<view class="filter_item">
|
<view class="filter_item">
|
||||||
<view class="filter_label">温度</view>
|
<view class="filter_label">温度</view>
|
||||||
<view class="filter_input_wraper">
|
<view class="filter_input_wraper">
|
||||||
<input type="text" class="filter_input" v-model="val3" disabled>
|
<input type="text" class="filter_input" v-model="val3">
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="filter_item">
|
<view class="filter_item">
|
||||||
<view class="filter_label">时间</view>
|
<view class="filter_label">时间</view>
|
||||||
<view class="filter_input_wraper">
|
<view class="filter_input_wraper">
|
||||||
<input type="text" class="filter_input" v-model="val4" disabled>
|
<input type="text" class="filter_input" v-model="val4">
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -21,7 +21,6 @@
|
|||||||
<view class="filter_input_wraper">
|
<view class="filter_input_wraper">
|
||||||
<search-box
|
<search-box
|
||||||
v-model="val2"
|
v-model="val2"
|
||||||
@input="handleChange2"
|
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -59,12 +58,7 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleChange1 (e) {
|
handleChange1 (e) {
|
||||||
console.log(e)
|
this._pointStatusQuery()
|
||||||
// this._pointStatusQuery()
|
|
||||||
},
|
|
||||||
handleChange2 (e) {
|
|
||||||
console.log(e)
|
|
||||||
// this._pointStatusQuery()
|
|
||||||
},
|
},
|
||||||
/** 查询 */
|
/** 查询 */
|
||||||
async _pointStatusQuery () {
|
async _pointStatusQuery () {
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled2" @tap="_confirmBlanking">确认下卷</button>
|
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled2" @tap="_confirmBlanking">确认下卷</button>
|
||||||
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled3" @tap="_finishBlanking">下卷完成</button>
|
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled3" @tap="_finishBlanking">下卷完成</button>
|
||||||
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled4" @tap="_finish">结束</button>
|
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled4" @tap="_finish">结束</button>
|
||||||
|
<button class="submit-button" @tap="_queryRawFoilList">查询</button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -86,10 +87,14 @@
|
|||||||
dataList: [],
|
dataList: [],
|
||||||
pkId: '',
|
pkId: '',
|
||||||
pkObj: {},
|
pkObj: {},
|
||||||
disabled1: false
|
disabled1: false,
|
||||||
|
disabled2: false,
|
||||||
|
disabled3: false,
|
||||||
|
disabled4: false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
|
this._queryRawFoilList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleChange (e) {
|
handleChange (e) {
|
||||||
@@ -97,9 +102,6 @@
|
|||||||
},
|
},
|
||||||
/** 初始化查询 */
|
/** 初始化查询 */
|
||||||
async _queryRawFoilList () {
|
async _queryRawFoilList () {
|
||||||
if (!this.val1 || !this.val2) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
let res = await queryRawFoilList(this.val1, this.val2)
|
let res = await queryRawFoilList(this.val1, this.val2)
|
||||||
this.dataList = [...res.rows]
|
this.dataList = [...res.rows]
|
||||||
},
|
},
|
||||||
@@ -116,6 +118,9 @@
|
|||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
this.disabled1 = false
|
this.disabled1 = false
|
||||||
|
this.pkId = ''
|
||||||
|
this.pkObj = {}
|
||||||
|
this._queryRawFoilList()
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.disabled1 = false
|
this.disabled1 = false
|
||||||
}
|
}
|
||||||
@@ -133,6 +138,9 @@
|
|||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
this.disabled2 = false
|
this.disabled2 = false
|
||||||
|
this.pkId = ''
|
||||||
|
this.pkObj = {}
|
||||||
|
this._queryRawFoilList()
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.disabled2 = false
|
this.disabled2 = false
|
||||||
}
|
}
|
||||||
@@ -150,6 +158,9 @@
|
|||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
this.disabled3 = false
|
this.disabled3 = false
|
||||||
|
this.pkId = ''
|
||||||
|
this.pkObj = {}
|
||||||
|
this._queryRawFoilList()
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.disabled3 = false
|
this.disabled3 = false
|
||||||
}
|
}
|
||||||
@@ -167,6 +178,9 @@
|
|||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
this.disabled4 = false
|
this.disabled4 = false
|
||||||
|
this.pkId = ''
|
||||||
|
this.pkObj = {}
|
||||||
|
this._queryRawFoilList()
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.disabled4 = false
|
this.disabled4 = false
|
||||||
}
|
}
|
||||||
@@ -184,6 +198,6 @@
|
|||||||
width 92rpx
|
width 92rpx
|
||||||
.slide_new table td:nth-child(2), .slide_new table th:nth-child(2)
|
.slide_new table td:nth-child(2), .slide_new table th:nth-child(2)
|
||||||
position sticky
|
position sticky
|
||||||
left 92rpx
|
left 89rpx
|
||||||
z-index 102
|
z-index 102
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -97,7 +97,7 @@
|
|||||||
},
|
},
|
||||||
/** 初始化查询 */
|
/** 初始化查询 */
|
||||||
async _queryRawFoil () {
|
async _queryRawFoil () {
|
||||||
let res = await _queryRawFoil(this.val1, this.val2, this.index)
|
let res = await queryRawFoil(this.val1, this.val2, this.index)
|
||||||
this.dataList = [...res.data]
|
this.dataList = [...res.data]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -109,6 +109,6 @@
|
|||||||
width 92rpx
|
width 92rpx
|
||||||
.slide_new table td:nth-child(2), .slide_new table th:nth-child(2)
|
.slide_new table td:nth-child(2), .slide_new table th:nth-child(2)
|
||||||
position sticky
|
position sticky
|
||||||
left 92rpx
|
left 89rpx
|
||||||
z-index 102
|
z-index 102
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user