商品,农机服务

This commit is contained in:
lzh
2023-03-13 23:47:28 +08:00
parent 6b7a9f0be0
commit 59cc919edd
4 changed files with 18 additions and 46 deletions

View File

@@ -73,8 +73,8 @@
import MultiUpload from '@/components/Upload/multiUpload'
const defaultSubject={
title: '',
category_id:38,
category_name:'农机租赁'
categoryId:38,
categoryName:'农机租赁'
};
export default {
name: 'SubjectDetail',
@@ -194,6 +194,8 @@
this.$router.back();
});
} else {
this.subject.categoryId=38
this.subject.categoryName='农机租赁'
createSubject(this.subject).then(response => {
this.$refs[formName].resetFields();
this.subject = Object.assign({},defaultSubject);

View File

@@ -166,6 +166,9 @@ let userRoles = []
unitOptions:[{
id: "个",
name: "个",
},{
id: "袋",
name: "袋",
},
{
id: "箱",

View File

@@ -64,12 +64,12 @@
{{ scope.row.phone }}
</template>
</el-table-column>
<el-table-column label="用户余额" width="180" align="center">
<!-- <el-table-column label="用户余额" width="180" align="center">
<template slot-scope="scope">
<p>{{ scope.row.blance }}</p>
<p><el-button type="text" @click="handleShowVeriyEditDialog(scope.$index, scope.row)">余额记录</el-button></p>
</template>
</el-table-column>
</el-table-column> -->
<!-- <el-table-column label="用户积分" width="180" align="center">
<template slot-scope="scope">
<p>{{ scope.row.integration }}</p>
@@ -94,7 +94,7 @@
<el-table-column label="操作" width="250" align="center">
<template slot-scope="scope">
<el-button size="mini" type="primary" @click="sendMessageToOne(scope.$index, scope.row)">发送信息</el-button>
<el-button size="mini" type="danger" @click="addBlacne(scope.$index, scope.row)">余额充值</el-button>
<!-- <el-button size="mini" type="danger" @click="addBlacne(scope.$index, scope.row)">余额充值</el-button> -->
<!-- <el-button size="mini" type="danger" @click="addIntegration(scope.$index, scope.row)">积分充值</el-button> -->
<el-button size="mini" type="danger" @click="handleDelete(scope.$index, scope.row)">删除</el-button>
</template>