内部码打印bug修改

prod
郑明梁 3 years ago
parent 09d43ab662
commit 1533de2e05

@ -307,7 +307,7 @@ export default {
}); });
this.query = { this.query = {
billNo: "", billNo: "",
status: "", status: "3",
page: 1, page: 1,
limit: 10, limit: 10,
startTime: "", startTime: "",
@ -322,6 +322,7 @@ export default {
this.showSearch = !this.showSearch; this.showSearch = !this.showSearch;
}, },
onSubmit() { onSubmit() {
this.query.page=1;
this.getList(); this.getList();
this.haveDistributionVisible = true; this.haveDistributionVisible = true;
}, },
@ -353,6 +354,7 @@ export default {
this.query.startTime = null; this.query.startTime = null;
this.query.endTime = null; this.query.endTime = null;
} }
// this.query.status=3
stockOrderList(this.query) stockOrderList(this.query)
.then(response => { .then(response => {
this.loading = false; this.loading = false;

@ -190,6 +190,7 @@ export default {
orderIdFk: "", orderIdFk: "",
page: 1, page: 1,
limit: 10, limit: 10,
orderId:"",
}, },
labelPrintVisible: false, labelPrintVisible: false,
formData: {}, formData: {},
@ -424,7 +425,9 @@ export default {
this.pdffileUrl = this.BASE_URL + "/spms/donwload/pdf?fileName="; this.pdffileUrl = this.BASE_URL + "/spms/donwload/pdf?fileName=";
if (this.$isNotBlank(this.inQuery.id)) { if (this.$isNotBlank(this.inQuery.id)) {
this.formData = this.inQuery.formData; this.formData = this.inQuery.formData;
debugger
this.query.orderId = this.inQuery.id; this.query.orderId = this.inQuery.id;
this.query.orderIdFk = this.formData.id;
this.query.sOrderId = this.inQuery.id; this.query.sOrderId = this.inQuery.id;
this.getOrderQRCodeTextList(); this.getOrderQRCodeTextList();
} }

@ -5,7 +5,7 @@
<el-button-group style="display: flex;margin-bottom: 15px; margin-right: 50px"> <el-button-group style="display: flex;margin-bottom: 15px; margin-right: 50px">
<el-button <el-button
type="primary" type="primary"
@click.native="saveOrder('2')" @click.native="saveOrder('1')"
:loading="loading" :loading="loading"
>提交单据 >提交单据
</el-button </el-button
@ -293,16 +293,7 @@ export default {
tableRowClassName({row, rowIndex}) { tableRowClassName({row, rowIndex}) {
row.index = rowIndex; row.index = rowIndex;
}, },
//
resetForm() {
if (this.$refs["dataForm"]) {
//
this.$refs["dataForm"].clearValidate();
//
this.$refs["dataForm"].resetFields();
this.getList();
}
},
deleteCodeArray(index, row) { deleteCodeArray(index, row) {
this.$confirm("此操作将永久删除该数据, 是否继续?", "提示", { this.$confirm("此操作将永久删除该数据, 是否继续?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
@ -367,7 +358,6 @@ export default {
}; };
}, },
created() { created() {
if (this.$isNotBlank(this.idQuery.id)) { if (this.$isNotBlank(this.idQuery.id)) {
this.query.limit = 100; this.query.limit = 100;
this.query.orderIdFk = this.idQuery.id; this.query.orderIdFk = this.idQuery.id;
@ -376,7 +366,6 @@ export default {
this.formData.billDate = this.idQuery.formData.createTime; this.formData.billDate = this.idQuery.formData.createTime;
this.orderEditor = true; this.orderEditor = true;
this.sValue = this.formData.corpName; this.sValue = this.formData.corpName;
this.getStockOrderDetailList();
} else { } else {
this.formData = { this.formData = {
id: null, id: null,

Loading…
Cancel
Save