Sfoglia il codice sorgente

新建工具订单调整

qymljy 1 anno fa
parent
commit
74442d1bc3
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/HDrpManagement/orderManage/modules/add.vue

+ 3 - 0
src/HDrpManagement/orderManage/modules/add.vue

@@ -234,6 +234,9 @@ export default {
       console.log(this.form)
       this.$refs['form'].validate(async valid => {
         if (!valid) return
+        if (this.form.type === '工具订单') {
+          this.form.tradefield = ''
+        }
         this.$store.commit('setLoading',true)
         const res = await this.$api.requested({
           "id":this.form.type ==='项目订单'?20230103141402: 20221108111402,