|
|
|
@ -63,23 +63,10 @@
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="codeArray" style="width: 100%;" max-height="350" height="350" ref="multipleTable">
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- type="selection"-->
|
|
|
|
|
<!-- width="55">-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
<el-table v-loading="loading" :data="codeArray" style="width: 100%;" max-height="350" height="350"
|
|
|
|
|
ref="multipleTable">
|
|
|
|
|
<el-table-column label="序号" type="index" width="50"></el-table-column>
|
|
|
|
|
<el-table-column label="码" prop="udiCode"></el-table-column>
|
|
|
|
|
<!--<el-table-column label="订单数量">-->
|
|
|
|
|
<!--<template slot-scope="scope">-->
|
|
|
|
|
<!--<span>{{ scope.row.count }}</span>-->
|
|
|
|
|
<!--</template>-->
|
|
|
|
|
<!--</el-table-column>-->
|
|
|
|
|
<!--<el-table-column label="实际数量">-->
|
|
|
|
|
<!--<template slot-scope="scope">-->
|
|
|
|
|
<!--<span>{{ scope.row.reCount }}</span>-->
|
|
|
|
|
<!--</template>-->
|
|
|
|
|
<!--</el-table-column>-->
|
|
|
|
|
<el-table-column label="内部码" prop="udiCode"></el-table-column>
|
|
|
|
|
<el-table-column label="状态">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span>{{ statusMap[scope.row.printStatus] }}</span>
|
|
|
|
@ -95,17 +82,6 @@
|
|
|
|
|
<span>{{ scope.row.updateTime }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<!-- <el-table-column label="操作" fixed="right" width="150">-->
|
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
|
<!-- type="text"-->
|
|
|
|
|
<!-- size="small"-->
|
|
|
|
|
<!-- @click.native="printStockOrderDetailPDF(scope.row)"-->
|
|
|
|
|
<!-- >打印-->
|
|
|
|
|
<!-- </el-button-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
@ -123,8 +99,13 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import {stockOrderDetail, submitStockOrder, submitStockOrderError, uploadStockOrderDetailCount} from "../../api/inout/stockOrder";
|
|
|
|
|
import {stockQRCodeText,filterPrint} from "../../api/inout/stockQRCode";
|
|
|
|
|
import {
|
|
|
|
|
stockOrderDetail,
|
|
|
|
|
submitStockOrder,
|
|
|
|
|
submitStockOrderError,
|
|
|
|
|
uploadStockOrderDetailCount
|
|
|
|
|
} from "../../api/inout/stockOrder";
|
|
|
|
|
import {stockQRCodeText, filterPrint} from "../../api/inout/stockQRCode";
|
|
|
|
|
import {getLocalJoinBusType} from "../../api/basic/busLocalType";
|
|
|
|
|
|
|
|
|
|
import draggable from "vuedraggable";
|
|
|
|
@ -150,7 +131,7 @@ export default {
|
|
|
|
|
return {
|
|
|
|
|
code: "",
|
|
|
|
|
query: {
|
|
|
|
|
sOrderId:null,
|
|
|
|
|
sOrderId: null,
|
|
|
|
|
orderIdFk: "",
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10,
|
|
|
|
@ -265,7 +246,7 @@ export default {
|
|
|
|
|
if (row.count <= 0) {
|
|
|
|
|
return this.$message.error('数量错误');
|
|
|
|
|
}
|
|
|
|
|
let tQuery = { queryId: row.id, }
|
|
|
|
|
let tQuery = {queryId: row.id,}
|
|
|
|
|
this.loading = true;
|
|
|
|
|
inspectionStockQRCodeTextPDFFromTemplateFile(tQuery).then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
@ -332,8 +313,6 @@ export default {
|
|
|
|
|
this.codeArray = [];
|
|
|
|
|
if (this.$isNotBlank(this.idQuery.id)) {
|
|
|
|
|
this.formData = this.idQuery.formData;
|
|
|
|
|
// this.query.orderIdFk = this.idQuery.id;
|
|
|
|
|
// this.getStockOrderDetailList();
|
|
|
|
|
this.query.sOrderId = this.idQuery.id;
|
|
|
|
|
this.getStockQRCodeTextList();
|
|
|
|
|
}
|
|
|
|
|