|
|
|
@ -28,8 +28,10 @@
|
|
|
|
|
<el-card class="el-card">
|
|
|
|
|
<el-row style="margin-bottom: 20px;">
|
|
|
|
|
<el-button type="primary" @click="batchSetParams(null,'salesListNo')">批量设置销售清单</el-button>
|
|
|
|
|
<el-button type="primary" @click="batchSetParams(null, 'firstSalesInvNo')">批量设置销售发票第一票</el-button>
|
|
|
|
|
<el-button type="primary" @click="batchSetParams(null, 'secSalesInvNo')">批量设置销售发票第二票</el-button>
|
|
|
|
|
<el-button type="primary" @click="batchSetParams(null, 'firstSalesInvNo')">批量设置销售发票第一票
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button type="primary" @click="batchSetParams(null, 'secSalesInvNo')">批量设置销售发票第二票
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="detailLoading"
|
|
|
|
@ -155,7 +157,7 @@
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import {stockOrderDetail, updateStockOrderDetail, findOrderByStockOrder} from "@/api/inout/stockOrder";
|
|
|
|
|
import {updateOrder} from "@/api/inout/order";
|
|
|
|
|
import {updateOrderPrintRemark} from "@/api/inout/order";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "stockOrderEdit",
|
|
|
|
@ -168,8 +170,8 @@ export default {
|
|
|
|
|
type: Object,
|
|
|
|
|
required: true,
|
|
|
|
|
},
|
|
|
|
|
isShow:{
|
|
|
|
|
flag:true,
|
|
|
|
|
isShow: {
|
|
|
|
|
flag: true,
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
@ -336,12 +338,14 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
updateOrderRemark() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
updateOrder(this.orderQuery).then((response) => {
|
|
|
|
|
let params = {
|
|
|
|
|
id: this.billData.orderIdFk,
|
|
|
|
|
printRemark: this.orderQuery.printRemark
|
|
|
|
|
}
|
|
|
|
|
updateOrderPrintRemark(params).then((response) => {
|
|
|
|
|
if (response.code == 20000) {
|
|
|
|
|
this.$message.success("保存成功!");
|
|
|
|
|
this.getByStockOrder();
|
|
|
|
|
// this.getByStockOrder();
|
|
|
|
|
}
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
})
|
|
|
|
@ -349,6 +353,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
// this.getByStockOrder();
|
|
|
|
|
this.orderQuery.printRemark = this.billData.printRemark;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|