ccjgmwz 3 anni fa
parent
commit
db84ab801b
2 ha cambiato i file con 16 aggiunte e 16 eliminazioni
  1. 2 2
      .env.production
  2. 14 14
      src/views/houseSelfCollect/newWeighingManagement.vue

+ 2 - 2
.env.production

@@ -4,8 +4,8 @@
 
 NODE_ENV = 'production'
 # base api
-VUE_APP_BASE_API = 'https://api2.eliangeyun.com'
-#VUE_APP_BASE_API = 'https://apitest.eliangeyun.com'
+#VUE_APP_BASE_API = 'https://api2.eliangeyun.com'
+VUE_APP_BASE_API = 'https://apitest.eliangeyun.com'
 
 # 微服务相关接口配置
 ## 任务消息

+ 14 - 14
src/views/houseSelfCollect/newWeighingManagement.vue

@@ -338,10 +338,10 @@
           netWeight: 0,
           receivableWeighingFee: '',
           qualityInspectionManagement: {
-            boxNo: "暂无",
-            boxNoOther: "暂无",
-            titleNo: "暂无",
-            titleNoOther: "暂无",
+            boxNo: '暂无',
+            boxNoOther: '暂无',
+            titleNo: '暂无',
+            titleNoOther: '暂无',
           }
         },
         deptBudgetList: {},
@@ -372,9 +372,9 @@
         mListTotal: [],
         pListTotal: [],
         submitAllow: false,
-        id: "",
+        id: '',
         inOutDate: {},
-        idPrint:"",
+        idPrint:'',
         ewCustomerOptions: [{
             value: '黑龙江利润元粮食贸易有限公司',
             label: '黑龙江利润元粮食贸易有限公司'
@@ -406,8 +406,8 @@
           label: '厦门建发物产有限公司'
         }],
         companyName: '黑龙江利润元粮食贸易有限公司',
-        companyNameEW: "厦门建发物产有限公司",
-        ewCustomer: "黑龙江利润元粮食贸易有限公司",
+        companyNameEW: '厦门建发物产有限公司',
+        ewCustomer: '黑龙江利润元粮食贸易有限公司',
          ewradio: '',
         ddchecked: false,
         checked: false,
@@ -432,7 +432,7 @@
       // }
       //  if (this.$route.query.automaticWeightAcquisition == '1') {
       this.isShowBalance = true
-      var _saomaData = JSON.parse(localStorage.getItem("saoma_data")) //判断是否扫码进来的
+      var _saomaData = JSON.parse(localStorage.getItem('saoma_data')) //判断是否扫码进来的
       // }
       //仓库
       selectWarehouseSelf({
@@ -450,7 +450,7 @@
             this.id = _saomaData.id
             this.tpyeNo = _saomaData.typeNo
             this.inWarehouseType = _saomaData.managementType
-            localStorage.removeItem("saoma_data"); //第一次进来结束后清除缓存
+            localStorage.removeItem('saoma_data'); //第一次进来结束后清除缓存
           } else if ( localStorage.getItem('houseSelfCollect_house1')) {
             this.warehouseName = JSON.parse(localStorage.getItem('houseSelfCollect_house1')).value
             for (var i = 0; i < response.length; i++) {
@@ -701,7 +701,7 @@
               _list[i].paymentManagement.approveStatus
             ) {
               continue
-            }y
+            }
           }
           if (_list[i].status == '已质检') {
             this.mListTop.push(_list[i])
@@ -1181,7 +1181,7 @@
         }
           if(this.tpyeNo == 2) {
               if(this.submitAllow){
-                this.$message.error("该条质检信息未确认")
+                this.$message.error('该条质检信息未确认')
                 return
               }
         }
@@ -1280,7 +1280,7 @@
                               warehousing.inOutFlag = 
                               warehousing.id=warehousing.warehouseInOutId
                               addstorageputList(warehousing).toPromise().then((response) => {
-                                if(response == "OK"){
+                                if(response == 'OK'){
                                   this.getList()
                                 }
                               })
@@ -1318,7 +1318,7 @@
                       delete warehousing.status
                       warehousing.id=warehousing.warehouseInOutId
                       addstorageputList(warehousing).toPromise().then((response) => {
-                        if(response == "OK"){
+                        if(response == 'OK'){
                           this.getList()
                         }
                       })