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