Quellcode durchsuchen

计算仓储费 仓储费协议修改

wengyuwen vor 4 Jahren
Ursprung
Commit
79752fe4db

+ 1 - 7
src/views/warehouseBusiness/agreement/index.vue

@@ -926,13 +926,7 @@ export default {
     cancel() {
       this.open = false
       this.reset()
-      this.agreementitemsList = {
-          fFeeunitid:'',
-          fFromdays:'',
-          fEndays:'',
-          fPrice:'',
-          fFeeid:''
-        }
+      this.agreementitemsList = []
     },
     handleClose() {
       this.open = false

+ 4 - 4
src/views/warehouseBusiness/storageFeeCalculation/index.vue

@@ -825,7 +825,7 @@
         <el-button
           :disabled="browseStatus"
           style="background-color: #008000; color: #fff"
-          @click="submitForm(6)"
+          @click="submitForm(4)"
         >请 核</el-button>
       </div>
     </el-dialog>
@@ -1009,7 +1009,6 @@
           this.getList()
         })
       },
-
       // 默认录入人
       register() {
         queryUserVal().then((response)=>{
@@ -1341,13 +1340,14 @@
         this.reset();
         let data = row || this.ids;
         getStorageFeeCalculation(data.fId).then((response) => {
-          this.Operator = response.data.corps.createBy
+
           this.fMblnoOptions = []
           if (response.data.corps) {
             this.fMblnoOptions.push(response.data.corps)
           }
           if (response.data.warehouse) {
             this.form = response.data.warehouse
+            this.Operator = this.form.createBy
             this.$set(this.form, 'createTime', Date.parse(this.form.createTime))
             this.$set(this.form, 'fBillingDeadline', Date.parse(this.form.fBillingDeadline))
           }
@@ -1545,7 +1545,7 @@
               this.$message({message: '请维护仓储费计算截止日期', type: 'warning'})
               return false
             }
-            if (this.form.fBillstatus !== 6) {
+            if (this.form.fBillstatus !== 4) {
               this.form.fBillstatus = status
             }
             let formData = new window.FormData();