Prechádzať zdrojové kódy

2023.11.16出库 时间报错处理

caojunjie 1 rok pred
rodič
commit
3d34e8f4a8

+ 3 - 1
src/views/Warehousing/inStock/AddOrUpdate.vue

@@ -7131,7 +7131,9 @@ export default {
     })
   },
   mounted() {
-    this.$refs.printTable.style.setProperty('--url', 'url(' + this.signature + ') bottom right no-repeat')
+      if (this.$refs.printTable) {
+          this.$refs.printTable.style.setProperty('--url', 'url(' + this.signature + ') bottom right no-repeat')
+      }
   },
   activated() {
     this.getDicts('st_in_type').then((response) => {

+ 1 - 1
src/views/Warehousing/outStock/AddOrUpdate.vue

@@ -258,7 +258,7 @@
         <el-col :span="8">
           <el-form-item label="是否质押" prop="isPledge">
             <el-select v-model="form.isPledge" placeholder="请选择是否质押" clearable
-              :disabled="browseStatus || form.warehouseStatus > 3" style="width: 80%" @change="feeUnitChange">
+              :disabled="browseStatus || form.warehouseStatus > 3" style="width: 80%">
               <el-option v-for="(item, index) in isPledgeOptions" :key="index.dictValue" :label="item.dictLabel"
                 :value="item.dictValue" />
             </el-select>

+ 1 - 1
src/views/Warehousing/outStock/index.vue

@@ -633,7 +633,7 @@ export default {
     } else {
       nDay = 28
     }
-    this.queryParams.timeInterval = [lYear + '-' + lMonth + '-' + '01 00:00:00', nYear + '-' + nMonth + '-' + nDay + '23:59:59']
+    this.queryParams.timeInterval = [lYear + '-' + lMonth + '-' + '01 00:00:00', nYear + '-' + nMonth + '-' + nDay + ' 23:59:59']
 
     queryVehicle().then(res => {
       this.fTrucknoList = res.data