Merge remote-tracking branch 'origin/dev'
This commit is contained in:
commit
44f6083925
@ -54,22 +54,22 @@ export default {
|
|||||||
nursetotal: 0,
|
nursetotal: 0,
|
||||||
nurseStationId: null,
|
nurseStationId: null,
|
||||||
goods: [{
|
goods: [{
|
||||||
value: "BUSINESS",
|
value: "BUSINESS",
|
||||||
label: "买卖",
|
label: "买卖",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: "LEASE",
|
value: "LEASE",
|
||||||
label: "租赁",
|
label: "租赁",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
options: [{
|
options: [{
|
||||||
value: 0,
|
value: 0,
|
||||||
label: "否",
|
label: "否",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 1,
|
value: 1,
|
||||||
label: "是",
|
label: "是",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
// goodAttributeDetailsLists:[],
|
// goodAttributeDetailsLists:[],
|
||||||
goodDetailsLists: [],
|
goodDetailsLists: [],
|
||||||
@ -129,7 +129,10 @@ export default {
|
|||||||
{ required: true, message: "请输入商品度量单位", trigger: "blur" },
|
{ required: true, message: "请输入商品度量单位", trigger: "blur" },
|
||||||
],
|
],
|
||||||
goodsPictureUrl: [
|
goodsPictureUrl: [
|
||||||
{ required: true, message: "请输入选择图片", trigger: "blur" },
|
{ required: true, message: "请选择图片", trigger: "blur" },
|
||||||
|
],
|
||||||
|
sort: [
|
||||||
|
{ required: true, message: "请输入商品顺序", trigger: "blur" },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -193,7 +196,7 @@ export default {
|
|||||||
attributePitureUrl: "",
|
attributePitureUrl: "",
|
||||||
goodsPrice: "",
|
goodsPrice: "",
|
||||||
goodsStock: "",
|
goodsStock: "",
|
||||||
sort: "",
|
sort: null,
|
||||||
ids: this.ids,
|
ids: this.ids,
|
||||||
};
|
};
|
||||||
this.goodDetailsLists.push(obj);
|
this.goodDetailsLists.push(obj);
|
||||||
@ -234,7 +237,7 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (this.imgsurl.pictureUrlList.length > 0) {
|
if (this.imgsurl.pictureUrlList.length > 0) {
|
||||||
updatePicture(this.imgsurl).then((res) => { });
|
updatePicture(this.imgsurl).then((res) => {});
|
||||||
}
|
}
|
||||||
this.imgsurl = { pictureUrlList: [] };
|
this.imgsurl = { pictureUrlList: [] };
|
||||||
this.open = false;
|
this.open = false;
|
||||||
@ -246,9 +249,9 @@ export default {
|
|||||||
attributePitureUrl: "",
|
attributePitureUrl: "",
|
||||||
goodsPrice: "",
|
goodsPrice: "",
|
||||||
goodsStock: "",
|
goodsStock: "",
|
||||||
sort: "",
|
sort: null,
|
||||||
},],
|
}, ],
|
||||||
},];
|
}, ];
|
||||||
},
|
},
|
||||||
|
|
||||||
handleQuery2() {
|
handleQuery2() {
|
||||||
@ -267,7 +270,7 @@ export default {
|
|||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
}),
|
}),
|
||||||
this.handleQuery2();
|
this.handleQuery2();
|
||||||
},
|
},
|
||||||
addcancel() {
|
addcancel() {
|
||||||
this.resetQuery2();
|
this.resetQuery2();
|
||||||
@ -298,9 +301,9 @@ export default {
|
|||||||
attributePitureUrl: "",
|
attributePitureUrl: "",
|
||||||
goodsPrice: "",
|
goodsPrice: "",
|
||||||
goodsStock: "",
|
goodsStock: "",
|
||||||
sort: "",
|
sort: null,
|
||||||
ids: 9999999,
|
ids: 9999999,
|
||||||
},];
|
}, ];
|
||||||
this.resetForm("form");
|
this.resetForm("form");
|
||||||
},
|
},
|
||||||
/** 搜索按钮操作 */
|
/** 搜索按钮操作 */
|
||||||
@ -341,9 +344,9 @@ export default {
|
|||||||
attributePitureUrl: "",
|
attributePitureUrl: "",
|
||||||
goodsPrice: "",
|
goodsPrice: "",
|
||||||
goodsStock: "",
|
goodsStock: "",
|
||||||
sort: "",
|
sort: null,
|
||||||
ids: 9999999,
|
ids: 9999999,
|
||||||
},];
|
}, ];
|
||||||
this.open = true;
|
this.open = true;
|
||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
@ -413,10 +416,10 @@ export default {
|
|||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
console.log("row :>> ", row);
|
console.log("row :>> ", row);
|
||||||
this.$confirm("是否确认删除订单信息的数据项?", "提示", {
|
this.$confirm("是否确认删除订单信息的数据项?", "提示", {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: "确定",
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: "取消",
|
||||||
type: "warning",
|
type: "warning",
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
var obj = { pictureUrlList: [] };
|
var obj = { pictureUrlList: [] };
|
||||||
obj.pictureUrlList.push(row.goodsPictureUrl);
|
obj.pictureUrlList.push(row.goodsPictureUrl);
|
||||||
@ -430,7 +433,7 @@ export default {
|
|||||||
// console.log('this.OrderDetailsList :>> ', this.OrderDetailsList);
|
// console.log('this.OrderDetailsList :>> ', this.OrderDetailsList);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(() => { });
|
.catch(() => {});
|
||||||
},
|
},
|
||||||
// handleDelete(row) {
|
// handleDelete(row) {
|
||||||
// const ids = row.id || this.ids;
|
// const ids = row.id || this.ids;
|
||||||
@ -507,4 +510,4 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -267,6 +267,13 @@
|
|||||||
style="width: 210px"
|
style="width: 210px"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="商品顺序" prop="sort">
|
||||||
|
<el-input
|
||||||
|
v-model.number="form.sort"
|
||||||
|
placeholder="值越大排名越靠前"
|
||||||
|
style="width: 210px"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="商品图片" prop="goodsPictureUrl">
|
<el-form-item label="商品图片" prop="goodsPictureUrl">
|
||||||
<stationAcatar
|
<stationAcatar
|
||||||
@imgUrl="imgUrl"
|
@imgUrl="imgUrl"
|
||||||
@ -309,11 +316,12 @@
|
|||||||
></el-input>
|
></el-input>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="显示顺序" align="center">
|
<el-table-column label="商品属性顺序" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="scope.row.attributeDetailsSort"
|
v-model.number="scope.row.attributeDetailsSort"
|
||||||
maxlength="10"
|
maxlength="10"
|
||||||
|
placeholder="值越大排名越靠前"
|
||||||
oninput="value=value.replace(/[^\d]/g,'')"
|
oninput="value=value.replace(/[^\d]/g,'')"
|
||||||
></el-input>
|
></el-input>
|
||||||
</template>
|
</template>
|
||||||
@ -349,7 +357,7 @@
|
|||||||
style="margin-top: 20px"
|
style="margin-top: 20px"
|
||||||
>
|
>
|
||||||
<editor
|
<editor
|
||||||
@imgs="imgs"
|
@imgs="imgs"
|
||||||
:min-height="100"
|
:min-height="100"
|
||||||
style="width: 90%; margin: 0 auto"
|
style="width: 90%; margin: 0 auto"
|
||||||
v-model="form.goodsRemark"
|
v-model="form.goodsRemark"
|
||||||
|
|||||||
@ -30,7 +30,6 @@
|
|||||||
@keyup.enter.native="handleQuery"
|
@keyup.enter.native="handleQuery"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="订单状态" prop="orderStatus">
|
<el-form-item label="订单状态" prop="orderStatus">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="queryParams.orderStatus"
|
v-model="queryParams.orderStatus"
|
||||||
@ -45,6 +44,14 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="联系电话" prop="phone">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.phone"
|
||||||
|
placeholder="请输入联系电话"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@ -124,6 +131,12 @@
|
|||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="联系电话"
|
||||||
|
align="center"
|
||||||
|
prop="phone"
|
||||||
|
width="180"
|
||||||
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="下单时间"
|
label="下单时间"
|
||||||
align="center"
|
align="center"
|
||||||
@ -137,7 +150,7 @@
|
|||||||
{{ scope.row.orderChannel == "ALI_PAY_APPLET" ? "支付宝小程序" : "" }}
|
{{ scope.row.orderChannel == "ALI_PAY_APPLET" ? "支付宝小程序" : "" }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="备注信息" align="center" prop="remark" />
|
<!-- <el-table-column label="备注信息" align="center" prop="remark" /> -->
|
||||||
<el-table-column label="录入物流单号" align="center" prop="remark">
|
<el-table-column label="录入物流单号" align="center" prop="remark">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
@ -310,7 +323,7 @@
|
|||||||
style="width: 240px"
|
style="width: 240px"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="综合评分" v-if="orderList.compositeScore">
|
<el-form-item label="综合评分" v-if="orderList.compositeScore">
|
||||||
<div style="width: 240px">
|
<div style="width: 240px">
|
||||||
<el-rate
|
<el-rate
|
||||||
v-if="orderList.compositeScore"
|
v-if="orderList.compositeScore"
|
||||||
@ -348,7 +361,7 @@
|
|||||||
"
|
"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
style="width: 23%;height:100%;margin:1%"
|
style="width: 23%; height: 100%; margin: 1%"
|
||||||
v-for="(item, index) in ratelist"
|
v-for="(item, index) in ratelist"
|
||||||
:src="baseurl + item.evaluatePictureUrl"
|
:src="baseurl + item.evaluatePictureUrl"
|
||||||
alt=""
|
alt=""
|
||||||
@ -881,13 +894,12 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 重置按钮操作 */
|
/** 重置按钮操作 */
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
console.log(this.nurseStationlist);
|
|
||||||
console.log(this.nurseStationlist);
|
|
||||||
if (this.nurseStationlist[0]) {
|
if (this.nurseStationlist[0]) {
|
||||||
this.queryParams.pageNum = 1;
|
this.queryParams.pageNum = 1;
|
||||||
this.queryParams.pageSize = 10;
|
this.queryParams.pageSize = 10;
|
||||||
this.queryParams.orderNo = null;
|
this.queryParams.orderNo = null;
|
||||||
this.queryParams.orderStatus = null;
|
this.queryParams.orderStatus = null;
|
||||||
|
this.queryParams.phone = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// this.queryParams = {
|
// this.queryParams = {
|
||||||
|
|||||||
@ -119,6 +119,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="下单时间" align="center" prop="createTime" />
|
<el-table-column label="下单时间" align="center" prop="createTime" />
|
||||||
<el-table-column label="会员名称" align="center" prop="patientName" />
|
<el-table-column label="会员名称" align="center" prop="patientName" />
|
||||||
|
<el-table-column label="护理员" align="center" prop="nursePersonName" />
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="操作"
|
label="操作"
|
||||||
align="center"
|
align="center"
|
||||||
|
|||||||
@ -705,6 +705,9 @@ export default {
|
|||||||
this.imgsurl = { pictureUrlList: [] };
|
this.imgsurl = { pictureUrlList: [] };
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.reset();
|
this.reset();
|
||||||
|
this.arealist = [];
|
||||||
|
this.citylist = [];
|
||||||
|
this.streetlist = [];
|
||||||
},
|
},
|
||||||
// 表单重置
|
// 表单重置
|
||||||
reset() {
|
reset() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user