|
|
|
@ -183,6 +183,7 @@
|
|
|
|
|
" |
|
|
|
|
>复核签收 |
|
|
|
|
</el-text> |
|
|
|
|
|
|
|
|
|
<el-text |
|
|
|
|
type="primary" |
|
|
|
|
text |
|
|
|
@ -700,6 +701,7 @@ import {
|
|
|
|
|
getinventorydetail, |
|
|
|
|
getClientDetail, |
|
|
|
|
$_getDetail, |
|
|
|
|
$_isSignt, |
|
|
|
|
} from '@/api/distribution/distributionDeliveryList'; |
|
|
|
|
import { showOrderPackgeCode } from '@/api/distribution/distributionStockArticle'; |
|
|
|
|
import { showInventoryPackgeCode } from '@/api/distribution/distributionStockList'; |
|
|
|
@ -709,7 +711,7 @@ import { mapGetters } from 'vuex';
|
|
|
|
|
import { getDictionaryBiz } from '@/api/system/dict'; |
|
|
|
|
import dayjs from 'dayjs'; |
|
|
|
|
import { updateReservation } from '@/api/distribution/distributionReservation'; |
|
|
|
|
import { ElMessage } from 'element-plus'; |
|
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus'; |
|
|
|
|
import { getToken } from '@/utils/auth'; |
|
|
|
|
import { setNodeHeight } from '@/utils/util.js'; |
|
|
|
|
export default { |
|
|
|
@ -3692,15 +3694,24 @@ export default {
|
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
handleSign(row) { |
|
|
|
|
console.log('签收>>>>>>>>>>', row); |
|
|
|
|
console.log(row.signId, '复合签收'); |
|
|
|
|
this.reservationId = row.id; |
|
|
|
|
$_getDetail({ id: row.signId }).then(res => { |
|
|
|
|
console.log(res, '复合返回值'); |
|
|
|
|
if (res.data.data) { |
|
|
|
|
this.CheckStore = res.data.data; |
|
|
|
|
|
|
|
|
|
// 复核请求公共函数 |
|
|
|
|
checkFn(row) { |
|
|
|
|
console.log('签收>>>>>>>>>>', row); |
|
|
|
|
// this.title = '查看'; |
|
|
|
|
// this.view = true; |
|
|
|
|
this.signform = row; |
|
|
|
|
this.signBox = true; |
|
|
|
|
getDetail(row.id).then(res => { |
|
|
|
|
console.log(res, '点击复核的返回值'); |
|
|
|
|
this.form = res.data.data; |
|
|
|
|
this.TcForm = res.data.data; |
|
|
|
|
// 照片回显分类 |
|
|
|
|
this.DoorstepPhoto = []; |
|
|
|
|
this.StackingPhoto = []; |
|
|
|
|
this.FragilePhotos = []; |
|
|
|
|
this.HomePhotos = []; |
|
|
|
|
this.SignForPhotos = []; |
|
|
|
|
if (res.data.data.printVOList) { |
|
|
|
|
// DoorstepPhoto 上门照片 |
|
|
|
|
// StackingPhoto 堆码照片 |
|
|
|
@ -3730,16 +3741,58 @@ export default {
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
console.log(this.CheckStore, 'data'); |
|
|
|
|
console.log(res.data.data, 'res'); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
console.log('签收>>>>>>>>>>', row); |
|
|
|
|
console.log(row.signId, '复合签收'); |
|
|
|
|
this.signtitle = '复核签收'; |
|
|
|
|
// this.view = true; |
|
|
|
|
this.signform = row; |
|
|
|
|
this.signBox = true; //开启复合弹窗 |
|
|
|
|
// this.wid= row.id |
|
|
|
|
// this.getWrapdetails(this.wpage) |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
handleSign(row) { |
|
|
|
|
this.reservationId = row.id; |
|
|
|
|
let data={ |
|
|
|
|
signingId: row.id, |
|
|
|
|
} |
|
|
|
|
$_isSignt(data).then(res=>{ |
|
|
|
|
console.log(res,'复核预请求'); |
|
|
|
|
if (res.data.msg == '存在异常包件') { |
|
|
|
|
ElMessage({ |
|
|
|
|
message: res.data.msg, |
|
|
|
|
type: 'warning', |
|
|
|
|
}); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (res.data.msg == '此任务存在未完成包件,请确认') { |
|
|
|
|
ElMessageBox.confirm(res.data.msg, '提示', { |
|
|
|
|
confirmButtonText: '确定', |
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
type: 'warning', |
|
|
|
|
}) |
|
|
|
|
.then(() => { |
|
|
|
|
this.checkFn(row); |
|
|
|
|
}) |
|
|
|
|
.catch(() => { |
|
|
|
|
console.log('取消'); |
|
|
|
|
}); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (res.data.msg == '直接进行复核操作') { |
|
|
|
|
this.checkFn(row); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
handleOne(row) { |
|
|
|
|
console.log('签收>>>>>>>>>>', row); |
|
|
|
|