Kaynağa Gözat

订单管理变更交期

qymljy 2 yıl önce
ebeveyn
işleme
764ac1bae0

+ 11 - 1
src/HDrpManagement/orderManage/details/tabs/changeOrderMx.vue

@@ -6,6 +6,7 @@
         class="normal-margin"
         :data="listData"
         style="width: 100%"
+        @close="onClose"
         border
         size="small">
         <el-table-column
@@ -99,7 +100,7 @@
         </el-form-item>
       </el-form>
       <div slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisible = false" size="small">取 消</el-button>
+        <el-button @click="onClose" size="small">取 消</el-button>
         <el-button type="primary" @click="submit" size="small">确 定</el-button>
       </div>
     </el-dialog>
@@ -145,6 +146,15 @@ export default {
       this.dialogVisible = true
 
     },
+    onClose(){
+      this.form.remarks = ''
+      this.listData = this.tableData.map(e=>{
+        e.newvalue = ''
+        e.newdeliverydate = ''
+        return e
+      })
+      this.dialogVisible = false
+    },
     onInput(row,index) {
       this.$set(this.listData,index,row)
     },