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)