Browse Source

盘点新增盘点名称

dev
马远东 2 weeks ago
parent
commit
e0d6f2eff8
  1. 37
      src/option/distribution/createTask.js
  2. 6
      src/views/distribution/checkInventoryTask/createTask.vue

37
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,

6
src/views/distribution/checkInventoryTask/createTask.vue

@ -120,6 +120,9 @@
v-loading="formInventoryloading"
element-loading-text="正在处理中,此任务可能较耗时请耐心等待..."
>
<el-form-item label="盘点名称">
<el-input v-model="formInventory.taskName" placeholder="请输入盘点名称" />
</el-form-item>
<el-form-item label="商场名称">
<el-select
multiple
@ -925,6 +928,7 @@ const InventorySubmit = async () => {
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)

Loading…
Cancel
Save