|
@@ -83,15 +83,15 @@
|
|
|
<dict-tag :options="dict.type.cloth_order_status" :value="scope.row.orderStatus" />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" align="center" fixed="right" width="200">
|
|
|
+ <el-table-column label="操作" align="center" fixed="right" width="240">
|
|
|
<template slot-scope="scope">
|
|
|
<template v-if="scope.row.payTimeType == '1' && scope.row.payStatus != 1">
|
|
|
- <el-button type="primary" size="mini" icon="el-icon-money" @click="toPay(scope)">立刻支付</el-button>
|
|
|
+ <el-button type="text" size="mini" icon="el-icon-money" @click="toPay(scope)">立刻支付</el-button>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <el-button type="primary" size="mini" icon="el-icon-box" @click="handleDetail(scope.row)">取衣</el-button>
|
|
|
- <el-button v-if="scope.row.orderStatus == '8' || scope.row.orderStatus == '9'" type="warning" size="mini" icon="el-icon-user" @click="selectDeliveryMan(scope)"> 分配派送员 </el-button>
|
|
|
- <el-button v-if="scope.row.orderStatus == '9'" type="success" size="mini" icon="el-icon-check" @click="confirmSend(scope)"> 确认送达 </el-button>
|
|
|
+ <el-button type="text" size="mini" icon="el-icon-box" @click="handleDetail(scope.row)">取衣</el-button>
|
|
|
+ <el-button v-if="scope.row.orderStatus == '8' || scope.row.orderStatus == '9'" type="text" size="mini" icon="el-icon-user" @click="selectDeliveryMan(scope)"> 分配派送员 </el-button>
|
|
|
+ <el-button v-if="scope.row.orderStatus == '9'" type="text" size="mini" icon="el-icon-check" @click="confirmSend(scope)"> 确认送达 </el-button>
|
|
|
</template>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -187,7 +187,35 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
- <!-- 支付状态弹窗组件 -->
|
|
|
+ <!-- 配置派送员 -->
|
|
|
+ <el-dialog title="配置派送员" :visible.sync="deliveryOpen" width="80%" :close-on-click-modal="false" class="take-clothes-dialog" append-to-body>
|
|
|
+ <el-row :gutter="15">
|
|
|
+ <el-form ref="form" :model="selectDeliveryForm" :rules="rules" label-width="100px">
|
|
|
+ <!-- <el-col :span="24">
|
|
|
+ <el-form-item label="配送方式" prop="service_trans_id">
|
|
|
+ <el-radio-group v-model="selectDeliveryForm.service_trans_id">
|
|
|
+ <el-radio-button key="0" label="0">第三方配送</el-radio-button>
|
|
|
+ <el-radio-button key="1" label="1">门店自送</el-radio-button>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col> -->
|
|
|
+ <!-- v-if="selectDeliveryForm.service_trans_id == 1" -->
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="派送员" prop="takeClothAppUserId">
|
|
|
+ <el-select v-model="selectDeliveryForm.deliveryManId" placeholder="请选择派送员" clearable>
|
|
|
+ <el-option v-for="man in deliveryManList" :key="man.appUserId" :label="man.realName" :value="man.appUserId" />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-form>
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+ <div>
|
|
|
+ <el-button type="primary" @click="submitDelivery" style="margin-left: 40%">提交</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+
|
|
|
+
|
|
|
<pay-status-popup ref="payStatusPopup" hidePointer @paySuccess="handlePaySuccess" @confirm="handlePayConfirm" @error="handlePayError"> </pay-status-popup>
|
|
|
</div>
|
|
|
</template>
|