|
|
@@ -5,8 +5,8 @@
|
|
|
<form>
|
|
|
<view class="module-com input-line-wrap">
|
|
|
<TuiListCell class="line-cell" :hover="false" :arrow="false">
|
|
|
- <view class="tui-title ">仓库</view>
|
|
|
- {{ getMerchantInfo.merchantName }}
|
|
|
+ <view class="tui-title ">门店</view>
|
|
|
+ {{ shopInfo.shopName }}
|
|
|
</TuiListCell>
|
|
|
<TuiListCell class="line-cell" :hover="false" :arrow="false">
|
|
|
<view class="tui-title ">备注</view>
|
|
|
@@ -175,6 +175,7 @@ import {
|
|
|
savaCheckOrderDraftApi,
|
|
|
getCheckOrderDetailApi
|
|
|
} from "@/api/inventory/index";
|
|
|
+import {currentShop} from "@/api/shop/index";
|
|
|
export default {
|
|
|
components: { TuiListCell },
|
|
|
mixins: [productMins],
|
|
|
@@ -183,6 +184,7 @@ export default {
|
|
|
orderSn: null,
|
|
|
infoData: null,
|
|
|
autoLoad: false,
|
|
|
+ shopInfo:null,
|
|
|
remark: "",
|
|
|
pageType: "inventory",
|
|
|
columns: [
|
|
|
@@ -225,7 +227,7 @@ export default {
|
|
|
this.orderSn = orderSn;
|
|
|
this.initInfo();
|
|
|
}
|
|
|
-
|
|
|
+ this.getInfo();
|
|
|
if (!this.getMerchantInfo) {
|
|
|
this.initMerchantInfo();
|
|
|
}
|
|
|
@@ -263,6 +265,13 @@ export default {
|
|
|
complete: () => {}
|
|
|
});
|
|
|
},
|
|
|
+ getInfo(){
|
|
|
+ return currentShop().then(res => {
|
|
|
+ this.shopInfo = res.data
|
|
|
+ console.log('getInfo',res)
|
|
|
+ })
|
|
|
+ .catch(err => {});
|
|
|
+ },
|
|
|
/**
|
|
|
* 获取当前选中商品总价
|
|
|
*/
|