修改bug
This commit is contained in:
parent
fe100ac766
commit
05a4a8a0fb
|
@ -219,7 +219,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogFormVisible = false">取 消</el-button>
|
<!-- <el-button @click="dialogFormVisible = false">取 消</el-button> -->
|
||||||
<el-button type="primary" @click="couponNoticeTo()">确 定</el-button>
|
<el-button type="primary" @click="couponNoticeTo()">确 定</el-button>
|
||||||
|
|
||||||
<el-button type="primary"
|
<el-button type="primary"
|
||||||
|
|
|
@ -156,7 +156,7 @@
|
||||||
</el-table-column> -->
|
</el-table-column> -->
|
||||||
<el-table-column prop="duration" label="时长(分钟)">
|
<el-table-column prop="duration" label="时长(分钟)">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="addNum" label="加钟次数"> </el-table-column>
|
<!-- <el-table-column prop="addNum" label="加钟次数"> </el-table-column> -->
|
||||||
<el-table-column prop="labels" label="标签" width="150">
|
<el-table-column prop="labels" label="标签" width="150">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="sales" label="销量" width="150">
|
<el-table-column prop="sales" label="销量" width="150">
|
||||||
|
@ -202,6 +202,20 @@
|
||||||
</el-switch>
|
</el-switch>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column prop="qyMinNum" label="企业预约最小次数" width="150">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.qyMinNum }}</span>
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="primary"
|
||||||
|
plain
|
||||||
|
:disabled="!isAuth('locality:update')"
|
||||||
|
@click="updateQyMin(scope.row)"
|
||||||
|
style="margin: 5px"
|
||||||
|
>修改</el-button
|
||||||
|
>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<!-- <el-table-column prop="createTime" label="创建时间">
|
<!-- <el-table-column prop="createTime" label="创建时间">
|
||||||
</el-table-column> -->
|
</el-table-column> -->
|
||||||
<el-table-column label="操作" prop="id" width="260" fixed="right">
|
<el-table-column label="操作" prop="id" width="260" fixed="right">
|
||||||
|
@ -927,7 +941,7 @@
|
||||||
placeholder="请输入项目时长(分钟)"
|
placeholder="请输入项目时长(分钟)"
|
||||||
></el-input>
|
></el-input>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-bottom: 10px">
|
<!-- <div style="margin-bottom: 10px">
|
||||||
<span style="width: 200px; display: inline-block; text-align: right"
|
<span style="width: 200px; display: inline-block; text-align: right"
|
||||||
>加钟次数:</span
|
>加钟次数:</span
|
||||||
>
|
>
|
||||||
|
@ -937,7 +951,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="请输入加钟次数"
|
placeholder="请输入加钟次数"
|
||||||
></el-input>
|
></el-input>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
<div style="margin-bottom: 10px">
|
<div style="margin-bottom: 10px">
|
||||||
<span style="width: 200px; display: inline-block; text-align: right"
|
<span style="width: 200px; display: inline-block; text-align: right"
|
||||||
|
@ -1176,7 +1190,7 @@
|
||||||
</el-table-column> -->
|
</el-table-column> -->
|
||||||
<el-table-column prop="duration" label="时长(分钟)">
|
<el-table-column prop="duration" label="时长(分钟)">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="addNum" label="加钟次数"> </el-table-column>
|
<!-- <el-table-column prop="addNum" label="加钟次数"> </el-table-column> -->
|
||||||
<el-table-column prop="labels" label="标签" width="200">
|
<el-table-column prop="labels" label="标签" width="200">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="sales" label="销量"> </el-table-column>
|
<el-table-column prop="sales" label="销量"> </el-table-column>
|
||||||
|
@ -1513,6 +1527,26 @@
|
||||||
<el-button type="primary" @click="replyNoticeTo()">确 定</el-button>
|
<el-button type="primary" @click="replyNoticeTo()">确 定</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<!-- 修改企业最小预约数量 -->
|
||||||
|
<el-dialog title="企业最小预约数量" :visible.sync="dialogFormVisibleBz" center>
|
||||||
|
<div style="margin-bottom: 10px">
|
||||||
|
<span style="width: 200px; display: inline-block; text-align: right"
|
||||||
|
>企业最小预约数量:</span
|
||||||
|
>
|
||||||
|
<el-input
|
||||||
|
style="width: 50%"
|
||||||
|
v-model="qyMinNum"
|
||||||
|
type="number"
|
||||||
|
min="0"
|
||||||
|
placeholder="请输入数量"
|
||||||
|
>
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
<div slot="footer" class="dialog-footer">
|
||||||
|
<el-button @click="dialogFormVisibleBz = false">取 消</el-button>
|
||||||
|
<el-button type="primary" @click="replyNoticeTo()">确 定</el-button>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
title="物料包列表"
|
title="物料包列表"
|
||||||
|
@ -1916,6 +1950,7 @@ export default {
|
||||||
closeValue2: 2,
|
closeValue2: 2,
|
||||||
openValue3: 1,
|
openValue3: 1,
|
||||||
closeValue3: 0,
|
closeValue3: 0,
|
||||||
|
qyMinNum:0,
|
||||||
title: "",
|
title: "",
|
||||||
type: "",
|
type: "",
|
||||||
name: "",
|
name: "",
|
||||||
|
@ -4421,6 +4456,12 @@ export default {
|
||||||
this.content = row.sales;
|
this.content = row.sales;
|
||||||
this.dialogFormVisibleBz = true;
|
this.dialogFormVisibleBz = true;
|
||||||
},
|
},
|
||||||
|
// 企业预约最小数量
|
||||||
|
updateQyMin(row) {
|
||||||
|
this.ordersId = row.massageTypeId;
|
||||||
|
this.qyMinNum = row.qyMinNum;
|
||||||
|
this.dialogFormVisibleBz = true;
|
||||||
|
},
|
||||||
// 修改
|
// 修改
|
||||||
replyNoticeTo() {
|
replyNoticeTo() {
|
||||||
this.$http({
|
this.$http({
|
||||||
|
@ -4452,6 +4493,38 @@ export default {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// 修改
|
||||||
|
replyNoticeTo() {
|
||||||
|
this.$http({
|
||||||
|
url: this.$http.adornUrl("artificer/updateMassageType"),
|
||||||
|
method: "post",
|
||||||
|
// params: this.$http.adornParams({
|
||||||
|
data: this.$http.adornData({
|
||||||
|
massageTypeId: this.ordersId,
|
||||||
|
qyMinNum: this.qyMinNum,
|
||||||
|
}),
|
||||||
|
}).then(({ data }) => {
|
||||||
|
if (data.code == 0) {
|
||||||
|
this.$message({
|
||||||
|
message: "修改成功",
|
||||||
|
type: "success",
|
||||||
|
duration: 1500,
|
||||||
|
onClose: () => {
|
||||||
|
this.classSelect();
|
||||||
|
},
|
||||||
|
});
|
||||||
|
this.dialogFormVisibleBz = false;
|
||||||
|
} else {
|
||||||
|
this.$message({
|
||||||
|
message: data.msg,
|
||||||
|
type: "warning",
|
||||||
|
duration: 1500,
|
||||||
|
onClose: () => {},
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
// 查询物料包列表
|
// 查询物料包列表
|
||||||
getMaterialPackageDataList(row) {
|
getMaterialPackageDataList(row) {
|
||||||
this.$http({
|
this.$http({
|
||||||
|
|
|
@ -737,8 +737,8 @@
|
||||||
xhr = new XMLHttpRequest();
|
xhr = new XMLHttpRequest();
|
||||||
xhr.withCredentials = false;
|
xhr.withCredentials = false;
|
||||||
// xhr.open('POST', "https://admin.sjajk.com/sqx_fast/alioss/upload");//生产需替换
|
// xhr.open('POST', "https://admin.sjajk.com/sqx_fast/alioss/upload");//生产需替换
|
||||||
// xhr.open('POST', "https://sausers.blxinchuang.com/sqx_fast/alioss/upload");
|
xhr.open('POST', "https://sausers.blxinchuang.com/sqx_fast/alioss/upload");
|
||||||
xhr.open('POST', "http://localhost:8187/sqx_fast/alioss/upload");
|
// xhr.open('POST', "http://localhost:8187/sqx_fast/alioss/upload");
|
||||||
xhr.onload = function() {
|
xhr.onload = function() {
|
||||||
var json;
|
var json;
|
||||||
|
|
||||||
|
|
|
@ -44,9 +44,9 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="counts" label="订单数量">
|
<el-table-column prop="ddsl" label="订单数量">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="money" label="总收益">
|
<el-table-column prop="sy" label="总收益">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="zxsc" label="在线时长(分钟)">
|
<el-table-column prop="zxsc" label="在线时长(分钟)">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
Loading…
Reference in New Issue