Browse Source

订单查询bug修复

master
梁超 5 days ago
parent
commit
8b44757233

+ 1
- 3
src/components/orderInfo/index.vue View File

infoData: { infoData: {
//表单配置 //表单配置
type: Object, type: Object,
default: function () {
return {};
},
default: {}
}, },
}); });



+ 3
- 4
src/views/onlineBusinessHall/orderManagement/index.vue View File

let content = ref(""); let content = ref("");
let form = ref(); let form = ref();
let startTitle = ref("取消订单"); //取消订单 换货 退货 let startTitle = ref("取消订单"); //取消订单 换货 退货
let visiinfoDatable: any = reactive({});
const visiinfoDatable = ref();
let activeName = null; let activeName = null;
let sizeForm: any = ref({ orderInfoExt: {} }); //发货对象 let sizeForm: any = ref({ orderInfoExt: {} }); //发货对象
const autdis: any = reactive({ auditStatus: "true", reason: "", reason1: "" }); //审核对象 const autdis: any = reactive({ auditStatus: "true", reason: "", reason1: "" }); //审核对象
autdisButton.value = type; autdisButton.value = type;
offset.value = 150; offset.value = 150;
} }
visiinfoDatable = {};
BaseService.postN("/managew/api/issue/orderQuery/detail", { BaseService.postN("/managew/api/issue/orderQuery/detail", {
orderNo: data.orderNo, orderNo: data.orderNo,
}).then((res: any) => { }).then((res: any) => {
if (res && res.code === 0) { if (res && res.code === 0) {
try { try {
visiinfoDatable = res.data;
visiinfoDatable.value = res.data;
} catch (e) { } catch (e) {
ElMessage.error("未知错误"); ElMessage.error("未知错误");
} //渲详情数据 } //渲详情数据
if (visiinfoDatable) { if (visiinfoDatable) {
if (type !== 0) { if (type !== 0) {
autdis.orderId = visiinfoDatable.orderInfo.orderNo;
// autdis.orderId = visiinfoDatable.orderInfo.orderNo;
visible.value = true; visible.value = true;
} else { } else {
CompleteTeturnDialog.value = true; CompleteTeturnDialog.value = true;

Loading…
Cancel
Save