|
@ -97,7 +97,10 @@ |
|
|
import winScanPack from '@/mycomponents/scan/winScanPack.vue' |
|
|
import winScanPack from '@/mycomponents/scan/winScanPack.vue' |
|
|
import locationCompare from '@/mycomponents/location/locationCompare.vue' |
|
|
import locationCompare from '@/mycomponents/location/locationCompare.vue' |
|
|
import comReceiptDetailCard from '@/pages/purchaseReceipt/coms/comReceiptDetailCard.vue' |
|
|
import comReceiptDetailCard from '@/pages/purchaseReceipt/coms/comReceiptDetailCard.vue' |
|
|
import jobTopAsn from '@/mycomponents/job/jobTopAsn.vue' |
|
|
import jobTopAsn from '@/mycomponents/job/jobTopAsn.vue' |
|
|
|
|
|
import { |
|
|
|
|
|
productDismantleJobClose |
|
|
|
|
|
} from '@/api/request2.js'; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: 'receipt_detail', |
|
|
name: 'receipt_detail', |
|
@ -413,8 +416,22 @@ |
|
|
|
|
|
|
|
|
reject() { |
|
|
reject() { |
|
|
this.$refs.comMessage.showQuestionMessage('是否要拒收任务<br>[' + this.jobContent.asnNumber + ']?', res => { |
|
|
this.$refs.comMessage.showQuestionMessage('是否要拒收任务<br>[' + this.jobContent.asnNumber + ']?', res => { |
|
|
if (res) { |
|
|
if (res) { |
|
|
this.showErrorMessage("需要赵雪冰提供拒收接口") |
|
|
uni.showLoading({ |
|
|
|
|
|
title: "提交中....", |
|
|
|
|
|
mask: true |
|
|
|
|
|
}); |
|
|
|
|
|
productDismantleJobClose(this.id).then(res => { |
|
|
|
|
|
console.log('拒收',res) |
|
|
|
|
|
if (res.data) { |
|
|
|
|
|
navigateBack(1) |
|
|
|
|
|
} else { |
|
|
|
|
|
this.showErrorMessage(res.msg) |
|
|
|
|
|
} |
|
|
|
|
|
}).catch(error => { |
|
|
|
|
|
uni.hideLoading() |
|
|
|
|
|
this.showErrorMessage(error) |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|