diff --git a/src/api/distribution/distrilbutionBillLading.js b/src/api/distribution/distrilbutionBillLading.js
index 998d3f81..70c6e997 100644
--- a/src/api/distribution/distrilbutionBillLading.js
+++ b/src/api/distribution/distrilbutionBillLading.js
@@ -226,3 +226,13 @@ export const $_distrilbutionBillLading = row => {
data: row,
});
};
+
+
+// 自提批量签收
+export const $_batchSign = data => {
+ return request({
+ url: '/api/logpm-distribution/distrilbutionBillLading/batchSign',
+ method: 'post',
+ data,
+ });
+};
\ No newline at end of file
diff --git a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue
index 50fb31ad..5927f82b 100644
--- a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue
+++ b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue
@@ -3845,8 +3845,6 @@ if($useStore.getters && $useStore.getters.permission){
console.log(this.accessControl,'accessControl按钮权限');
}
-
-
// this.onLoad();
// //查询字典
// this.queryDictionary();
diff --git a/src/views/distribution/inventory/distrilbutionBillLadingView.vue b/src/views/distribution/inventory/distrilbutionBillLadingView.vue
index 6b3f986f..4cdeefe0 100644
--- a/src/views/distribution/inventory/distrilbutionBillLadingView.vue
+++ b/src/views/distribution/inventory/distrilbutionBillLadingView.vue
@@ -95,6 +95,9 @@
批量查看二维码
+ 批量签收
+
{
@@ -1570,6 +1576,56 @@ export default {
searchChange() {
this.onLoad(this.page);
},
+ // 自提包件签收
+ Selfpickupreceipt(){
+ if(!this.selectionList.length){
+ ElMessage({
+ message: '请勾选要签收的数据',
+ type: 'warning',
+ })
+ return
+ }
+ console.log(this.selectionList,'this.selectionList');
+ ElMessageBox.confirm(
+ '是否确认操作自提批量签收?',
+ '提示',
+ {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning',
+ }
+ )
+ .then(() => {
+ this.loading=true
+ let data={
+ id:this.$route.query.id,
+ packageIds:this.selectionList.map(item=>item.id).join(',')
+
+ }
+ $_batchSign(data).then(res=>{
+ console.log(res,'自提签收成返回值');
+ if(res.data.code===200){
+
+ this.handlePackage(this.packpage)
+ ElMessage({
+ message:res.data.msg,
+ type: 'success',
+ })
+ }
+ }).catch(error=>{
+ console.log(error,'自提签收失败返回值');
+ }).finally(()=>{
+
+ this.loading=false
+ })
+ console.log(this.selectionList,'');
+ // handlePackage(this.packpage)
+ })
+ .catch(() => { })
+},
+
+
+
// 查看二维码
async handleqr(val) {
console.log(val, 'val');
diff --git a/src/views/factory/mt/packageInfo.vue b/src/views/factory/mt/packageInfo.vue
index d48b8fa2..cad1f31c 100644
--- a/src/views/factory/mt/packageInfo.vue
+++ b/src/views/factory/mt/packageInfo.vue
@@ -49,7 +49,7 @@