|
@@ -33,9 +33,9 @@
|
|
|
<textarea v-model="form.remark" @focus="form.remark=''" style="height:80upx;" class="tui-textarea remark" name="remark" placeholder-class="phcolor" placeholder="选填" />
|
|
<textarea v-model="form.remark" @focus="form.remark=''" style="height:80upx;" class="tui-textarea remark" name="remark" placeholder-class="phcolor" placeholder="选填" />
|
|
|
</view>
|
|
</view>
|
|
|
</tui-list-cell>
|
|
</tui-list-cell>
|
|
|
-
|
|
|
|
|
</view>
|
|
</view>
|
|
|
<view class="confirm-btn">
|
|
<view class="confirm-btn">
|
|
|
|
|
+ <view style="margin-bottom:20upx;font-size:33upx;color:red;font-weight:bold;">当前在:{{shopInfo.shopName}}</view>
|
|
|
<button class="admin-button-com big blue" formType="submit">添加</button>
|
|
<button class="admin-button-com big blue" formType="submit">添加</button>
|
|
|
</view>
|
|
</view>
|
|
|
</form>
|
|
</form>
|
|
@@ -45,6 +45,7 @@
|
|
|
<script>
|
|
<script>
|
|
|
import TuiListCell from "@/components/plugin/list-cell";
|
|
import TuiListCell from "@/components/plugin/list-cell";
|
|
|
import { addExpend} from '@/api/expend'
|
|
import { addExpend} from '@/api/expend'
|
|
|
|
|
+import {currentShop} from "@/api/shop";
|
|
|
export default {
|
|
export default {
|
|
|
name: "addExpend",
|
|
name: "addExpend",
|
|
|
components: {
|
|
components: {
|
|
@@ -60,9 +61,15 @@ export default {
|
|
|
payWay:0
|
|
payWay:0
|
|
|
},
|
|
},
|
|
|
payWayList:[{name:"客服微信",id:0},{name:"现金",id:4},{name:"支付宝",id:1},{name:"银行卡",id:5}],
|
|
payWayList:[{name:"客服微信",id:0},{name:"现金",id:4},{name:"支付宝",id:1},{name:"银行卡",id:5}],
|
|
|
- payWayindex:0
|
|
|
|
|
|
|
+ payWayindex:0,
|
|
|
|
|
+ shopInfo:{shopName:''}
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
|
|
+ onLoad () {
|
|
|
|
|
+ currentShop().then(res => {
|
|
|
|
|
+ this.shopInfo = res.data
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
methods: {
|
|
methods: {
|
|
|
payWayChange(e){
|
|
payWayChange(e){
|
|
|
let index = e.detail.value
|
|
let index = e.detail.value
|