From e0d6f2eff81325b80cee69db951cf2440d422328 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Sat, 28 Sep 2024 17:02:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=98=E7=82=B9=E6=96=B0=E5=A2=9E=E7=9B=98?= =?UTF-8?q?=E7=82=B9=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/option/distribution/createTask.js | 37 ++++++++++++------- .../checkInventoryTask/createTask.vue | 6 ++- 2 files changed, 29 insertions(+), 14 deletions(-) diff --git a/src/option/distribution/createTask.js b/src/option/distribution/createTask.js index 1274f196..fb70d179 100644 --- a/src/option/distribution/createTask.js +++ b/src/option/distribution/createTask.js @@ -25,6 +25,17 @@ export const columnList = [ sortable: true, head: false, }, + { + prop: 'taskName', + label: '盘点名称', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, { prop: 'warehouseName', label: '仓库名称', @@ -91,18 +102,18 @@ export const columnList = [ sortable: true, head: false, }, - { - prop: 'stockNum', - label: '数量', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - isshowSummary: true, // 是否显示合计 - head: false, - }, + // { + // prop: 'stockNum', + // label: '数量', + // type: 1, + // values: '', + // width: '150', + // checkarr: [], + // fixed: false, + // sortable: true, + // isshowSummary: true, // 是否显示合计 + // head: false, + // }, { prop: 'syncDataStatusNameS', label: '同步状态', @@ -165,7 +176,7 @@ export const columnList = [ label: '操作', type: 6, values: '', - width: '170', + width: '200', checkarr: [], fixed: 'right', sortable: false, diff --git a/src/views/distribution/checkInventoryTask/createTask.vue b/src/views/distribution/checkInventoryTask/createTask.vue index cfeecac4..535c0f75 100644 --- a/src/views/distribution/checkInventoryTask/createTask.vue +++ b/src/views/distribution/checkInventoryTask/createTask.vue @@ -120,6 +120,9 @@ v-loading="formInventoryloading" element-loading-text="正在处理中,此任务可能较耗时请耐心等待..." > + + + { const { scname, time: [startTime, endTime], + taskName, } = formInventory.value; //商场处理 const matchedInfo = (scname && matchInfoById(scname, shoppingmall.value)) || []; @@ -936,7 +940,7 @@ const InventorySubmit = async () => { })) : []; //构建提交数据 - const data = { startTime, endTime, list }; + const data = { startTime, endTime, list,taskName}; console.log('数据:', data); formInventoryloading.value = true; postAddtaskQuest(data)