|
|
|
@ -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) |
|
|
|
|