|
@@ -658,11 +658,11 @@ export default {
|
|
|
this.$nextTick(()=>{
|
|
|
this.getOrderTypeList();
|
|
|
this.getGoodsSpecList();
|
|
|
- this.getinitlbslist();
|
|
|
this.formType = type
|
|
|
this.formVisible = true
|
|
|
if (type == 'add') {
|
|
|
this.formDialogType = 0
|
|
|
+ this.getinitlbslist();
|
|
|
} else if(type == 'edit'){
|
|
|
this.formDialogType = 1
|
|
|
getOfflineOrderDetail({ orderId }).then(res => {
|
|
@@ -670,6 +670,7 @@ export default {
|
|
|
res.data.orderSmallTypeText = res.data.orderDetails[0]?.orderSmallTypeText;
|
|
|
this.goodsList = res.data.orderDetails;
|
|
|
Object.assign(this.formData, res.data)
|
|
|
+ this.getinitlbslist();
|
|
|
})
|
|
|
}
|
|
|
})
|
|
@@ -684,6 +685,14 @@ export default {
|
|
|
formCancel() {
|
|
|
this.formVisible = false
|
|
|
this.$refs?.formRef?.resetFields()
|
|
|
+ this.formData.province = '';
|
|
|
+ this.formData.provinceId = '';
|
|
|
+ this.formData.city = '';
|
|
|
+ this.formData.cityId = '';
|
|
|
+ this.formData.area = '';
|
|
|
+ this.formData.areaId = '';
|
|
|
+ this.formData.street = '';
|
|
|
+ this.formData.streetId = '';
|
|
|
this.formData.orderId = '';
|
|
|
this.formData.fileUrl = '';
|
|
|
this.goodsList = [];
|