Browse Source

仓库搜索

fix_bug_pro20231227
马远东 1 year ago
parent
commit
5ed33219d1
  1. 2
      src/page/index/top/index.vue
  2. 12
      src/views/distribution/checkInventoryTask/createTask.vue

2
src/page/index/top/index.vue

@ -67,7 +67,7 @@
</div>
<el-dialog v-model="isshow" title="切换仓库" width="30%">
<div style="display: flex; flex-direction: column; align-items: center">
<el-select class="selecin" v-model="warehousevalue" placeholder="请选择切换的仓库">
<el-select class="selecin" v-model="warehousevalue" filterable placeholder="请选择切换的仓库">
<el-option
v-for="(item, index) in datalist"
:key="item.id"

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

@ -2463,7 +2463,7 @@ const InventorySubmit = () => {
loading.value = true; //
console.log(SubData, '处理好的数据');
postAddtaskQuest(SubData).then(res => {
onLoad(); //
if ((res.data.code = 200)) {
ElMessage({
message: res.data.msg,
@ -2495,9 +2495,17 @@ const InventorySubmit = () => {
SubData.startTime = formInventory.value.time[0];
console.log(SubData, '处理好要提交的数据');
InventoryPopup.value = false; //
loading.value = true; //
postAddtaskQuest(SubData).then(res => {
console.log(res, '盘点计划提交成功');
if ((res.data.code = 200)) {
ElMessage({
message: res.data.msg,
type: 'success',
});
onLoad(); //
}
console.log(res, '盘点计划提交成功');
});
};
//

Loading…
Cancel
Save