Jelajahi Sumber

采购需求单窗口需求期更改,紧急需求日期更改为当天

黄梓星 1 tahun lalu
induk
melakukan
955af7979a

+ 2 - 1
src/views/purchase/PurchaseDemandList/add.vue

@@ -872,7 +872,6 @@ export default {
     },
     // 更改业务类型调整明细行内补单或紧急标识
     changeBillType(val) {
-      console.log(val)
       if (val == 'BDXQ' && this.basicForm.puDemandItemList.length != 0) {
         this.isBDXQ = true
         this.BDZT = false
@@ -888,6 +887,8 @@ export default {
       }
       if (val == 'JJXQ') {
         this.basicForm.planType = 'JJXQ'
+        // 判断需求日期
+        this.dafaultDate()
       } else {
         if (this.basicForm.planType == 'JJXQ') {
           this.basicForm.planType = ''

+ 2 - 2
src/views/purchase/PurchaseDemandList/index.vue

@@ -345,7 +345,7 @@
             </el-select>
           </template>
         </el-table-column>
-        <el-table-column property="deadline" label="截止星期/月份">
+        <el-table-column property="deadline" label="截止星期">
           <template slot-scope="scope">
             <el-input-number size="mini" :min=1 :max="scope.row.ways == 'ZJH' ? 7 : 12 " v-model="scope.row.deadline" clearable @input=changeDeadline(scope.row)></el-input-number>
           </template>
@@ -356,7 +356,7 @@
           </template>
         </el-table-column>
       </el-table>
-      <span style="color: red">注:周计划星期填写范围1-7,月计划填写范围1-12</span>
+      <!-- <span style="color: red">注:周计划星期填写范围1-7,月计划填写范围1-12</span> -->
     </el-dialog>
 
     <Add v-model="isList" v-if="!isList" :pageStu="page" :disable="disable" :row="rowDetail" @refresh="searchList"/>