feat:对详情中的日期进行了排序

This commit is contained in:
KindSeven
2024-09-16 02:44:13 +08:00
parent 77c6f66753
commit 9b12fb5176
5 changed files with 21 additions and 14 deletions

View File

@@ -9,7 +9,7 @@
import { reactive, shallowRef } from 'vue';
import fvSelect from '@/fvcomponents/fvSelect/index.vue'
import WorkDialog from '../components/WorkDialog.vue';
import { orderdDetele, orderdClose, orderAdd } from "@/api/order/order.js"
import { orderdDetele, orderdClose} from "@/api/order/order.js"
const rowData = ref()
const workDialogRef = ref()
@@ -263,7 +263,7 @@ const handleDetail = (row) => {
}
const handleClose = async (row) => {
// console.log(row.orderNumber);
console.log(row);
ElMessageBox.confirm(
'确定要关单吗?',
@@ -276,6 +276,7 @@ const handleClose = async (row) => {
)
.then(async () => {
await orderdClose(row.orderNumber)
router.push('/task/management/all-work-order');
ElMessage({
type: 'success',
message: '关闭成功',
@@ -302,6 +303,7 @@ const handleDelete = async (row) => {
)
.then(async () => {
await orderdDetele(row.orderNumber)
router.push('/task/management/all-work-order');
ElMessage({
type: 'success',
message: '删除成功',