|
@@ -360,7 +360,7 @@
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
- <el-dialog title="衣服附件" :visible.sync="addClothAdjunctOpen" width="60%">
|
|
|
|
|
|
+ <el-dialog title="衣服附件" :visible.sync="addClothAdjunctOpen" width="60%" append-to-body>
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
<div>选择附件</div>
|
|
<div>选择附件</div>
|
|
@@ -395,7 +395,7 @@
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
- <el-dialog title="衣服照片" :visible.sync="addClothPicOpen" width="50%">
|
|
|
|
|
|
+ <el-dialog title="衣服照片" :visible.sync="addClothPicOpen" width="50%" append-to-body>
|
|
<form ref="picForm">
|
|
<form ref="picForm">
|
|
<image-upload :limit="9" v-model="addClothPics"></image-upload>
|
|
<image-upload :limit="9" v-model="addClothPics"></image-upload>
|
|
</form>
|
|
</form>
|
|
@@ -405,7 +405,7 @@
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
- <el-dialog title="洗衣方式" :visible.sync="addClothWashModeOpen" width="30%">
|
|
|
|
|
|
+ <el-dialog title="洗衣方式" :visible.sync="addClothWashModeOpen" width="30%" append-to-body>
|
|
<div style="margin-bottom: 50px">
|
|
<div style="margin-bottom: 50px">
|
|
<el-tag :key="item.id" type="info" v-for="(item, index) in clothWashModes" style="margin-top: 15px; margin-left: 15px" size="medium" @click="onClothWashModeSelect(index)">
|
|
<el-tag :key="item.id" type="info" v-for="(item, index) in clothWashModes" style="margin-top: 15px; margin-left: 15px" size="medium" @click="onClothWashModeSelect(index)">
|
|
{{ item.washModeName + '(¥' + item.price + ')' }}
|
|
{{ item.washModeName + '(¥' + item.price + ')' }}
|
|
@@ -414,7 +414,7 @@
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
<!-- 设置备注 -->
|
|
<!-- 设置备注 -->
|
|
- <el-dialog title="备注" :visible.sync="addClothRemarkOpen" width="30%">
|
|
|
|
|
|
+ <el-dialog title="备注" :visible.sync="addClothRemarkOpen" width="30%" append-to-body>
|
|
<form ref="remarkForm">
|
|
<form ref="remarkForm">
|
|
<el-input type="textarea" :rows="5" placeholder="请输入备注" v-model="clothRemark"> </el-input>
|
|
<el-input type="textarea" :rows="5" placeholder="请输入备注" v-model="clothRemark"> </el-input>
|
|
</form>
|
|
</form>
|
|
@@ -425,7 +425,7 @@
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
<!-- 设置默认价格 -->
|
|
<!-- 设置默认价格 -->
|
|
- <el-dialog title="设置价格" :visible.sync="setClothDefaultPriceOpen" width="30%" :before-close="handleClose">
|
|
|
|
|
|
+ <el-dialog title="设置价格" :visible.sync="setClothDefaultPriceOpen" width="30%" :before-close="handleClose" append-to-body>
|
|
<form ref="remarkForm">
|
|
<form ref="remarkForm">
|
|
<el-input-number placeholder="请输入价格" v-model="defaultPrice"> </el-input-number>
|
|
<el-input-number placeholder="请输入价格" v-model="defaultPrice"> </el-input-number>
|
|
</form>
|
|
</form>
|
|
@@ -436,7 +436,7 @@
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
<!-- 特殊衣物 -->
|
|
<!-- 特殊衣物 -->
|
|
- <el-dialog title="特殊衣物" :visible.sync="setClothSpecialPriceOpen" width="55%" :before-close="handleClose">
|
|
|
|
|
|
+ <el-dialog title="特殊衣物" :visible.sync="setClothSpecialPriceOpen" width="55%" :before-close="handleClose" append-to-body>
|
|
<el-form ref="remarkForm">
|
|
<el-form ref="remarkForm">
|
|
<el-row :gutter="10">
|
|
<el-row :gutter="10">
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
@@ -481,12 +481,12 @@
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
- <el-dialog title="收银" :visible.sync="confirmPayOpen" size="80%" :before-close="handleClose" destroy-on-close>
|
|
|
|
- <CashCloth ref="cashCloth" :orderForm="orderForm" :orderClothItemDTOS="orderClothItemDTOS" :appUserInfo="appUserInfo" :clothSpeeds="clothSpeeds" :deductCouponVOS="deductCouponVOS" :discountCouponVOS="discountCouponVOS" @onPaySuccess="onPaySuccess" @initOrderList="initOrderList" />
|
|
|
|
|
|
+ <el-dialog title="收银" :visible.sync="confirmPayOpen" size="80%" :before-close="handleClose" destroy-on-close append-to-body>
|
|
|
|
+ <CashCloth ref="cashCloth" :orderForm="orderForm" :orderClothItemDTOS="orderClothItemDTOS" :appUserInfo="appUserInfo" :clothSpeeds="clothSpeeds" :deductCouponVOS="deductCouponVOS" :discountCouponVOS="discountCouponVOS" @onPaySuccess="onPaySuccess" @initOrderList="initOrderList" @confirm="handelPaySuccess"/>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
<!-- 拍照上传 -->
|
|
<!-- 拍照上传 -->
|
|
- <el-dialog title="拍照上传" :visible.sync="photographType" :before-close="hidephotograph" width="55%">
|
|
|
|
|
|
+ <el-dialog title="拍照上传" :visible.sync="photographType" :before-close="hidephotograph" width="55%" append-to-body>
|
|
<div class="photo_content">
|
|
<div class="photo_content">
|
|
<div class="video_content">
|
|
<div class="video_content">
|
|
<div class="loading" v-if="videoType">
|
|
<div class="loading" v-if="videoType">
|
|
@@ -524,7 +524,7 @@
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
<pay-status-popup ref="payStatusPopup" @paySuccess="handelPaySuccess"></pay-status-popup>
|
|
<pay-status-popup ref="payStatusPopup" @paySuccess="handelPaySuccess"></pay-status-popup>
|
|
- <el-dialog title="预约订单" :visible.sync="showAdvanceOrder" width="55%">
|
|
|
|
|
|
+ <el-dialog title="预约订单" :visible.sync="showAdvanceOrder" width="55%" append-to-body>
|
|
<el-table :data="advanceOrderList">
|
|
<el-table :data="advanceOrderList">
|
|
<el-table-column prop="orderNo" label="预约单号" width="180"> </el-table-column>
|
|
<el-table-column prop="orderNo" label="预约单号" width="180"> </el-table-column>
|
|
<el-table-column prop="appointmentTime" label="预约时间" width="180"></el-table-column>
|
|
<el-table-column prop="appointmentTime" label="预约时间" width="180"></el-table-column>
|
|
@@ -843,8 +843,8 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
onPaySuccess(orderInfo) {
|
|
onPaySuccess(orderInfo) {
|
|
|
|
+ console.log('aaaaa')
|
|
this.confirmPayOpen = false
|
|
this.confirmPayOpen = false
|
|
-
|
|
|
|
console.log('res', orderInfo)
|
|
console.log('res', orderInfo)
|
|
if (orderInfo.payTimeType == '0') {
|
|
if (orderInfo.payTimeType == '0') {
|
|
//第三方支付
|
|
//第三方支付
|
|
@@ -871,10 +871,12 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
handelPaySuccess() {
|
|
handelPaySuccess() {
|
|
|
|
+ console.log("AAAAA")
|
|
this.orderClothItemDTOS = []
|
|
this.orderClothItemDTOS = []
|
|
this.queryParams = {}
|
|
this.queryParams = {}
|
|
|
|
+ this.confirmPayOpen = false
|
|
this.appUserInfo = null
|
|
this.appUserInfo = null
|
|
- this.orderForm = {}
|
|
|
|
|
|
+ // this.orderForm = {}
|
|
},
|
|
},
|
|
intervalCheckOrderStatus(orderno) {
|
|
intervalCheckOrderStatus(orderno) {
|
|
getOrderStatusByOrderNo({ orderNo: orderno }).then((response) => {
|
|
getOrderStatusByOrderNo({ orderNo: orderno }).then((response) => {
|