|
@@ -24,7 +24,7 @@
|
|
|
<view class="title">任务编号</view>
|
|
|
<view class="con-list">
|
|
|
<view @click='show4=true'>{{gridList.inOutTaskNo?gridList.inOutTaskNo:'请选择任务编号'}}</view>
|
|
|
- <u-picker :range="taskNolist" range-key="inOutTaskNo" @confirm='tasknopicker($event)'
|
|
|
+ <u-picker :range="taskNolist" range-key="inOutTaskNo1" @confirm='tasknopicker($event)'
|
|
|
v-model="show4" mode="selector">
|
|
|
</u-picker>
|
|
|
</view>
|
|
@@ -875,6 +875,10 @@
|
|
|
warehouseName: this.gridList.warehouseName
|
|
|
}).then(res => {
|
|
|
console.log(res)
|
|
|
+ for (let i = 0; i < res.data.data.length; i++) {
|
|
|
+ this.$set(res.data.data[i],'inOutTaskNo1',res.data.data[i].inOutTaskNo+(res.data.data[i].taskFlag?'('+res.data.data[i].taskFlag+')':''))
|
|
|
+ }
|
|
|
+ console.log(res.data.data,22222)
|
|
|
this.taskNolist = res.data.data
|
|
|
})
|
|
|
this.multiSelector1 = [{
|
|
@@ -1156,6 +1160,9 @@
|
|
|
warehouseName: this.gridList.warehouseName
|
|
|
}).then(res => {
|
|
|
console.log(res)
|
|
|
+ for (let i = 0; i < res.data.data.length; i++) {
|
|
|
+ this.$set(res.data.data[i],'inOutTaskNo1',res.data.data[i].inOutTaskNo+(res.data.data[i].taskFlag?'('+res.data.data[i].taskFlag+')':''))
|
|
|
+ }
|
|
|
this.taskNolist = res.data.data
|
|
|
})
|
|
|
|
|
@@ -1449,9 +1456,13 @@
|
|
|
print() {
|
|
|
console.log(this.printId)
|
|
|
if(this.printId){
|
|
|
+ uni.showLoading({
|
|
|
+ title:"加载中"
|
|
|
+ })
|
|
|
this.$api.doRequest('get', '/qualityInspectionManagement/api/getQualityInspection', {
|
|
|
id: this.printId
|
|
|
}).then(res => {
|
|
|
+ uni.hideLoading()
|
|
|
uni.setStorageSync("quality_print", res.data.data)
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/erpbusiness/bleConnect'
|