+
@@ -622,6 +640,10 @@ export default { modifyPriceForm: { orderPrice: 0, }, + //修改订单备注表单 + modifyRemarkForm: { + sellerRemark: 0, + }, //订单核销表单 orderTakeForm: { qrCode: "", @@ -1006,6 +1028,26 @@ export default { } }); }, + modifyRemark () { + this.modifyRemarkForm.sellerRemark = this.orderInfo.order.sellerRemark; + this.sellerRemarkModal = true; + }, + //修改订单备注提交 + modifyRemarkSubmit () { + this.$refs.modifyRemarkForm.validate((valid) => { + if (valid) { + API_Order.modifyOrderRemark(this.sn, this.modifyRemarkForm).then( + (res) => { + if (res.success) { + this.$Message.success("编辑订单备注成功"); + this.sellerRemarkModal = false; + this.getDataDetail(); + } + } + ); + } + }); + }, getOrderPackage() { API_Order.getPackage(this.sn).then(res => { if (res.success) {