瀏覽代碼

仓储费日期格式更改

lichao 3 年之前
父節點
當前提交
77d66c2854
共有 1 個文件被更改,包括 19 次插入8 次删除
  1. 19 8
      src/views/Warehousing/goodsTransfer/AddOrUpdate.vue

+ 19 - 8
src/views/Warehousing/goodsTransfer/AddOrUpdate.vue

@@ -91,7 +91,6 @@
               v-model="form.fChargedate"
               type="date"
               style="width: 80%"
-              value-format="timestamp"
               :disabled="browseStatus"
               placeholder="仓储费日期"
             >
@@ -198,7 +197,6 @@
             <el-date-picker
               v-model="form.orgStorageDate"
               type="daterange"
-              value-format="yyyy-MM-dd"
               range-separator="至"
               style="width: 80%"
               start-placeholder="开始日期"
@@ -662,6 +660,12 @@
               type="danger"
               >作业费协议</el-button
             >
+<!--            <el-button-->
+<!--              type="primary"-->
+<!--              size="small"-->
+<!--              v-if="browseStatus"-->
+<!--              @click="feeChange"-->
+<!--            >费用变更</el-button>-->
           </div>
         </div>
         <el-table
@@ -1027,6 +1031,12 @@
               :disabled="browseStatus"
               >作业费协议</el-button
             >
+<!--            <el-button-->
+<!--              type="primary"-->
+<!--              size="small"-->
+<!--              v-if="browseStatus"-->
+<!--              @click="feeChange"-->
+<!--            >费用变更</el-button>-->
           </div>
         </div>
         <el-table
@@ -3017,7 +3027,6 @@ export default {
         this.$set(this.form, "fBsdate", Date.parse(this.form.fBsdate));
         this.$set(this.form, "fBstifime", Date.parse(this.form.fBstime));
         this.$set(this.form, "createTime", Date.parse(this.form.createTime));
-        this.$set(this.form, "fChargedate", Date.parse(this.form.fChargedate));
         this.$set(this.form, "fFeetUnit", this.form.fFeetunit);
         this.$set(this.form, "fBusinessType", "1");
         if (this.form.fCartype || this.form.fCartype == 0) {
@@ -3344,11 +3353,6 @@ export default {
                 this.$set(this.form, "fBstime", Date.parse(this.form.fBstime));
                 this.$set(
                   this.form,
-                  "fChargedate",
-                  Date.parse(this.form.fChargedate)
-                );
-                this.$set(
-                  this.form,
                   "createTime",
                   Date.parse(this.form.createTime)
                 );
@@ -3889,6 +3893,13 @@ export default {
           this.cancel();
         });
     },
+    feeChange() {
+      this.$router.push({
+        path: "/business/costModify",
+        // query: { id: this.form.id},
+        query: { id: 1},
+      });
+    },
   },
   watch: {
     // 监听 addOrUpdateVisible 改变