| | |
| | | </el-card> |
| | | |
| | | <!-- 新增/编辑对话框 --> |
| | | <el-dialog v-model="dialogVisible" :title="dialogTitle" width="700px"> |
| | | <FormDialog v-model="dialogVisible" :title="dialogTitle" :width="'700px'" @close="dialogVisible = false" @confirm="handleSubmit" @cancel="dialogVisible = false"> |
| | | <el-form :model="form" :rules="rules" ref="formRef" label-width="100px"> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | |
| | | </el-dialog> |
| | | |
| | | <!-- 付款对话框 --> |
| | | <el-dialog v-model="paymentDialogVisible" title="订单付款" width="500px"> |
| | | <FormDialog v-model="paymentDialogVisible" title="订单付款" :width="'500px'" @close="paymentDialogVisible = false" @confirm="savePayment" @cancel="paymentDialogVisible = false"> |
| | | <el-form label-width="100px"> |
| | | <el-form-item label="订单号"> |
| | | <span>{{ currentRecord.orderNo }}</span> |
| | |
| | | <el-input type="textarea" v-model="paymentRemark" rows="3" placeholder="请输入付款备注"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | <template #footer> |
| | | <div class="dialog-footer"> |
| | | <el-button @click="paymentDialogVisible = false">取 消</el-button> |
| | | <el-button type="primary" @click="savePayment">确 定</el-button> |
| | | </div> |
| | | </template> |
| | | </el-dialog> |
| | | </FormDialog> |
| | | |
| | | <!-- 发货对话框 --> |
| | | <el-dialog v-model="shippingDialogVisible" title="订单发货" width="500px"> |
| | | <FormDialog v-model="shippingDialogVisible" title="订单发货" :width="'500px'" @close="shippingDialogVisible = false" @confirm="saveShipping" @cancel="shippingDialogVisible = false"> |
| | | <el-form label-width="100px"> |
| | | <el-form-item label="订单号"> |
| | | <span>{{ currentRecord.orderNo }}</span> |
| | |
| | | <el-input type="textarea" v-model="shippingRemark" rows="3" placeholder="请输入发货备注"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | <template #footer> |
| | | <div class="dialog-footer"> |
| | | <el-button @click="shippingDialogVisible = false">取 消</el-button> |
| | | <el-button type="primary" @click="saveShipping">确 定</el-button> |
| | | </div> |
| | | </template> |
| | | </el-dialog> |
| | | </FormDialog> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import { Plus, Search } from '@element-plus/icons-vue' |
| | | import {listPage,add,update,deletePaymentShipping} from "@/api/salesManagement/paymentShipping.js" |
| | | import Pagination from '@/components/PIMTable/Pagination.vue' |
| | | import FormDialog from '@/components/Dialog/FormDialog.vue' |
| | | |
| | | const total = ref(0) |
| | | onMounted(() => { |