Commit aa4a77f5 authored by huhaiqing's avatar huhaiqing

增加取消审核报错

parent eb2b20b9
......@@ -24,12 +24,12 @@
<el-button type="primary" @click="showOrder">订单列表</el-button>
</el-row>
<!-- <div v-if="boxBackVO.preInstallInfo && boxBackVO.preInstallInfo.applyReason">
<p>申请原因</p>
<div v-if="approvalInfo.applyReason">
<h1>申请原因</h1>
<div>
{{boxBackVO.preInstallInfo.applyReason}}
{{approvalInfo.applyReason}}
</div>
</div> -->
</div>
<el-dialog :title="dialogConfig.title" :visible.sync="dialogConfig.visible" fullscreen :modal-append-to-body=false append-to-body>
<el-descriptions :column="6" border>
......@@ -110,6 +110,7 @@ export default {
},
data() {
return {
approvalInfo: {},
boxBackVO: {},
loadDetail: {},
// 柜型
......@@ -131,6 +132,7 @@ export default {
/* 获取详情 */
getApprovalDetail(processId) {
approvalDetail({ approvalId: processId }).then((res) => {
this.approvalInfo = res.data.approvalInfo;
this.boxBackVO = res.data.boxBackVO;
this.loadDetail = res.data.loadDetail;
});
......
......@@ -513,11 +513,9 @@ export default {
},
/* 取消审核 */
canclAudit() {
const { currNode } = this.$attrs;
const { voName } = currNode;
approvalCancel({
applyReason: "取消审核",
id: this.shipmentObj[voName].id,
id: this.shipmentObj['cabinetApprovalInfo'].id,
shipmentId: this.shipmentObj.id,
}).then((res) => {
serviceMsg(res, this).then(() => {
......
......@@ -250,11 +250,10 @@ export default {
},
/* 取消审核 */
canclAudit() {
const { currNode, shipmentObj } = this.$attrs;
const { voName } = currNode;
const { shipmentObj } = this.$attrs;
approvalCancel({
applyReason: "取消审核",
id: shipmentObj[voName].id,
id: shipmentObj['cabinetUnloadApprovalInfo'].id,
shipmentId: shipmentObj.id,
}).then((res) => {
serviceMsg(res, this).then(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment