Bladeren bron

fix(forecast-form): 修正表单返回类型声明和物料列表描述

yz 3 weken geleden
bovenliggende
commit
4fba913a0a
2 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen
  1. 1 1
      src/components/forecast-form/forecast-form-mixin.js
  2. 4 4
      src/components/forecast-form/index.vue

+ 1 - 1
src/components/forecast-form/forecast-form-mixin.js

@@ -831,7 +831,7 @@ export default {
     /**
      * 表单提交事件处理(Avue表单 @submit 入口)
      * @description 响应 avue-form 的提交事件,统一走 submitForm 逻辑
-     * @returns {Promise<void>}
+     * @returns {void}
      * @this {ForecastFormMixinComponent & Vue}
      */
     handleSubmit(form, done, loading) {

+ 4 - 4
src/components/forecast-form/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div v-if="visible" class="forecast-form-container">
-    
+
     <!-- 销售预测表单容器 - AvueJS版本 -->
     <div class="forecast-form-container basic-container">
       <!-- 表单内容区域 -->
@@ -24,7 +24,7 @@
 
         <!-- 物料表格区域 -->
         <div class="forecast-goods-table">
-          <div class="table-title">物料列表(来自用户关联商品 pjpfStockDescList)</div>
+          <div class="table-title">物料列表</div>
           <!-- 选择并导入物料工具栏 -->
           <div class="table-toolbar">
             <el-select
@@ -32,7 +32,7 @@
               filterable
               clearable
               :disabled="stockSelectOptions.length === 0"
-              placeholder="通过名称(cname)搜索可导入物料"
+              placeholder="物料名称"
               style="width: 360px"
             >
               <el-option
@@ -140,4 +140,4 @@ export default {
   font-size: 12px;
   color: #909399;
 }
-</style>
+</style>