diff --git a/components/buns-goodinfo-sheet/buns-goodinfo-sheet.vue b/components/buns-goodinfo-sheet/buns-goodinfo-sheet.vue index 5f8abc8..585ecde 100644 --- a/components/buns-goodinfo-sheet/buns-goodinfo-sheet.vue +++ b/components/buns-goodinfo-sheet/buns-goodinfo-sheet.vue @@ -234,7 +234,7 @@ this.handleCloseModal() }, handleChooseGood(val) { - const item = this.goodsRes.list.filter(t=> t.val == val)[0] + const item = this.goodsRes.list.concat(this.hotGoods).filter(t=> t.val == val)[0] this.modelInfo = { ...this.modelInfo, ...item diff --git a/pages/post/model.js b/pages/post/model.js index 2b0d1b5..f1dc062 100644 --- a/pages/post/model.js +++ b/pages/post/model.js @@ -130,7 +130,7 @@ export const getOrderModels = () => { prepareInBillCode: undefined, // 快递单号 prepareInRemark: undefined, // 预入仓自定义标识 prepareInSupplier: undefined, // 预入仓供应商 - warehouseInNo: [], // 进仓单号 + warehouseInNo: '', // 进仓单号 goodsPics: [], // 货物图片 customerName: '', // 客户名称 transLineTypeName: '', // 线路名称