|
@@ -20,7 +20,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
<!-- 充值 -->
|
|
<!-- 充值 -->
|
|
|
<template #slot-apply="{scope}">
|
|
<template #slot-apply="{scope}">
|
|
|
- <el-button type="text" @click="topUp(scope.row.shopName, scope.row.id)">充值</el-button>
|
|
|
|
|
|
|
+ <el-button type="text" @click="changeOnlyCg(scope.row)">调整仅采购</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</x-crud>
|
|
</x-crud>
|
|
|
|
|
|
|
@@ -126,6 +126,12 @@
|
|
|
width: '120',
|
|
width: '120',
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: 'ptStyle',
|
|
|
|
|
+ label: '类型',
|
|
|
|
|
+ width: '100',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
prop: 'balance',
|
|
prop: 'balance',
|
|
|
label: '余额',
|
|
label: '余额',
|
|
@@ -218,11 +224,10 @@
|
|
|
.done();
|
|
.done();
|
|
|
app.refresh();
|
|
app.refresh();
|
|
|
},
|
|
},
|
|
|
- // 充值
|
|
|
|
|
- topUp(name, id) {
|
|
|
|
|
- this.dialogTitle = name
|
|
|
|
|
- this.topForm.shopId = id
|
|
|
|
|
- this.wxPayDialog = true
|
|
|
|
|
|
|
+ changeOnlyCg(item) {
|
|
|
|
|
+ this.$service.saasShop.changeOnlyCg({id:item.id}).then(res => {
|
|
|
|
|
+ this.$message.success('操作成功')
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
resetForm () {
|
|
resetForm () {
|
|
|
this.$refs['adForm'].resetFields();
|
|
this.$refs['adForm'].resetFields();
|