|
|
|
@ -122,7 +122,7 @@
|
|
|
|
|
</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" width="150">
|
|
|
|
|
<el-table-column label="操作" width="160">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
@ -135,17 +135,28 @@
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.native.stop="deleteDialog(scope.row)"
|
|
|
|
|
>删除
|
|
|
|
|
@click.native.stop="rollback(scope.row)"
|
|
|
|
|
>撤回
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.native.stop="reviewOrder(scope.row)"
|
|
|
|
|
>验收单据
|
|
|
|
|
>审核
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.native.stop="deleteDialog(scope.row)"
|
|
|
|
|
>删除
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
@ -314,7 +325,7 @@
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="生产企业"
|
|
|
|
|
label="生产厂家"
|
|
|
|
|
prop="manufacturer"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
@ -433,7 +444,7 @@
|
|
|
|
|
<script>
|
|
|
|
|
import {
|
|
|
|
|
deleteByOrderId,
|
|
|
|
|
getOrderList
|
|
|
|
|
getOrderList, rollUnReceivebackOrder
|
|
|
|
|
} from "../../api/inout/order";
|
|
|
|
|
import {getLocalJoinByUser} from "@/api/basic/busType";
|
|
|
|
|
import {getInvListByUser} from "@/api/system/invWarehouse";
|
|
|
|
@ -712,8 +723,6 @@ export default {
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
checkOrder(orderId) {
|
|
|
|
|
},
|
|
|
|
|
onBizReset() {
|
|
|
|
|
this.bizQuery = {
|
|
|
|
|
productName: null,
|
|
|
|
@ -826,11 +835,28 @@ export default {
|
|
|
|
|
this.resultTotal = 0;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
editResultDialog(row) {
|
|
|
|
|
|
|
|
|
|
//单据撤回
|
|
|
|
|
rollback(row) {
|
|
|
|
|
this.$confirm('此操作将撤回单据至待校验, 是否继续?', '提示', {
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
|
cancelButtonText: '取消',
|
|
|
|
|
type: 'warning'
|
|
|
|
|
}).then(() => {
|
|
|
|
|
let param = {billNo: row.billNo};
|
|
|
|
|
rollUnReceivebackOrder(param).then((res) => {
|
|
|
|
|
if (res.code === 20000) {
|
|
|
|
|
this.$message.success("撤回成功");
|
|
|
|
|
this.getList();
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(res.message);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
// this.$message.info('回退失败');
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//验收结束
|
|
|
|
|
closeAcceptDialog() {
|
|
|
|
|
this.acceptOrderVisible = false;
|
|
|
|
@ -855,13 +881,15 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
return statusMap[status];
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|
mounted() {
|
|
|
|
|
document.body.ondrop = function (event) {
|
|
|
|
|
event.preventDefault();
|
|
|
|
|
event.stopPropagation();
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|
created() {
|
|
|
|
|
this.getInvList();
|
|
|
|
|
this.getBusType();
|
|
|
|
@ -873,8 +901,10 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|
}
|
|
|
|
|
;
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style type="text/scss" lang="scss">
|
|
|
|
|