|
|
|
@ -140,8 +140,8 @@
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.native.stop="checkOrder(scope.row.id)"
|
|
|
|
|
>校验单据
|
|
|
|
|
@click.native.stop="reviewOrder(scope.row)"
|
|
|
|
|
>验收单据
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
</template>
|
|
|
|
@ -444,6 +444,22 @@
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
</el-tabs>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog
|
|
|
|
|
title="单据验收"
|
|
|
|
|
:visible.sync="acceptOrderVisible"
|
|
|
|
|
width="80%"
|
|
|
|
|
:close-on-click-modal="false"
|
|
|
|
|
:close-on-press-escape="false"
|
|
|
|
|
v-if="acceptOrderVisible"
|
|
|
|
|
>
|
|
|
|
|
<accept-order
|
|
|
|
|
:closeDialog="closeAcceptDialog"
|
|
|
|
|
:orderQuery="acceptQuery"
|
|
|
|
|
v-on:childByValue="parentByFn"
|
|
|
|
|
></accept-order>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
@ -459,6 +475,7 @@ import {selectSysParamByKey} from "@/api/param/systemParamConfig";
|
|
|
|
|
import {getBizDetailList} from "@/api/inout/orderDetailBiz";
|
|
|
|
|
import {getCodeDetailList} from "@/api/inout/orderDetailCode";
|
|
|
|
|
import {getResultDetailList} from "@/api/inout/orderDetailResult";
|
|
|
|
|
import AcceptOrder from "@/views/inout/IoReviewOrder";
|
|
|
|
|
|
|
|
|
|
const formJson = {
|
|
|
|
|
site_id: "",
|
|
|
|
@ -468,7 +485,7 @@ const formJson = {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "IoUnCheckedOrder",
|
|
|
|
|
name: "IoCheckSuccessOrder",
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
showSearch: true,
|
|
|
|
@ -581,9 +598,11 @@ export default {
|
|
|
|
|
resultTotal: 0,
|
|
|
|
|
resultDetailLoading: false,
|
|
|
|
|
resultDetailList: [],
|
|
|
|
|
acceptQuery: null,
|
|
|
|
|
acceptOrderVisible: false,
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
components: {},
|
|
|
|
|
components: {AcceptOrder},
|
|
|
|
|
methods: {
|
|
|
|
|
onReset() {
|
|
|
|
|
this.$router.push({
|
|
|
|
@ -841,6 +860,22 @@ export default {
|
|
|
|
|
editResultDialog(row) {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//验收结束
|
|
|
|
|
closeAcceptDialog() {
|
|
|
|
|
this.acceptOrderVisible = false;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//开始验收
|
|
|
|
|
reviewOrder(row) {
|
|
|
|
|
this.acceptQuery = row;
|
|
|
|
|
this.acceptOrderVisible = true;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
parentByFn: function (childValue) {
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
filters: {
|
|
|
|
|
statusFilterType(status) {
|
|
|
|
|