黄梓星 1 ano atrás
pai
commit
1d43eca150
1 arquivos alterados com 2 adições e 8 exclusões
  1. 2 8
      src/views/purchase/PurchaseDemandList/add.vue

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

@@ -333,7 +333,7 @@
           </el-table-column> 
           <el-table-column show-overflow-tooltip label="采购备注" align="center"  prop="puRemark" width="150px"/>
           <!-- <el-table-column show-overflow-tooltip label="末级供应仓库存量" align="center"  prop="lastWarehouseQty" /> -->
-          <el-table-column show-overflow-tooltip label="调拨占有量" align="center"  prop="superiorAllotQty" width="150px"/>
+          <el-table-column show-overflow-tooltip label="调拨占有量" align="center"  prop="allotQty" width="150px"/>
           <el-table-column show-overflow-tooltip label="最终净需求量" align="center"  prop="resDemandQty" width="150px">
             <template slot-scope="scope">
               <el-form-item class="hang">
@@ -649,13 +649,7 @@ export default {
       customerOptions: [],
       pickerOptionsEnd: {
         disabledDate: (time) => {
-          let beginDateVal = this.basicForm.demandDate;
-          if (beginDateVal) {
-            return (
-              time.getTime() <
-              new Date(beginDateVal).getTime() - 8.64e7
-            );
-          }
+          return time.getTime() < Date.now() - 1 * 24 * 60 * 60 * 1000
         }
       },
       isBDXQ: false,