|
@@ -218,6 +218,7 @@ const ySalesData = ref({
|
|
//表格
|
|
//表格
|
|
let taskId = 0;
|
|
let taskId = 0;
|
|
let currentId = 0;
|
|
let currentId = 0;
|
|
|
|
+const currentRow = ref('');
|
|
|
|
|
|
const dayData = [];
|
|
const dayData = [];
|
|
const weekData = [];
|
|
const weekData = [];
|
|
@@ -407,6 +408,8 @@ function fetchCurrentTaskData() {
|
|
const editEvent = async (row: RowVO) => {
|
|
const editEvent = async (row: RowVO) => {
|
|
taskId = row.task;
|
|
taskId = row.task;
|
|
currentId = row.id;
|
|
currentId = row.id;
|
|
|
|
+ currentRow.value = row;
|
|
|
|
+ console.log("=>(TableDataEntry.vue:412) currentRow.value", currentRow.value);
|
|
Object.assign(taskDataForm, row);
|
|
Object.assign(taskDataForm, row);
|
|
await currentSalesTip();
|
|
await currentSalesTip();
|
|
dayFormVisible.value = true;
|
|
dayFormVisible.value = true;
|
|
@@ -990,8 +993,21 @@ onMounted(() => {
|
|
</vxe-grid>
|
|
</vxe-grid>
|
|
</div>
|
|
</div>
|
|
</el-card>
|
|
</el-card>
|
|
- <el-dialog v-model="dayFormVisible" :before-close="handleClose" style="border-radius: 10px;" title="创建任务"
|
|
|
|
|
|
+ <el-dialog v-model="dayFormVisible" :before-close="handleClose" style="border-radius: 10px;" :title="`创建任务 : ${currentRow.platformNumber} / ${currentRow.platformName}`"
|
|
width="600">
|
|
width="600">
|
|
|
|
+ <template #title>
|
|
|
|
+ <span class="text-xl">创建任务</span>
|
|
|
|
+ <div class="mt-2" style="display: flex; align-items: center;color: darkgray" >
|
|
|
|
+ <div style="margin-right: 8px;">
|
|
|
|
+ 平台编号:
|
|
|
|
+ <span class="italic pl-1 pr-2" >{{ currentRow.platformNumber }}</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ 平台名称:
|
|
|
|
+ <span class="italic pl-1">{{ currentRow.platformName }}</span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
<el-form
|
|
<el-form
|
|
ref="taskDataFormRef"
|
|
ref="taskDataFormRef"
|
|
:model="taskDataForm"
|
|
:model="taskDataForm"
|