|
@@ -156,7 +156,22 @@ export default {
|
|
},
|
|
},
|
|
cancel () {
|
|
cancel () {
|
|
this.opened = false
|
|
this.opened = false
|
|
- this.$refs.ruleForm.resetFields()
|
|
|
|
|
|
+ this.form = {
|
|
|
|
+ salesReturnBillSource: 'SALES',
|
|
|
|
+ buyerName: '', // 客户名称
|
|
|
|
+ buyerSn: '', // 客户sn
|
|
|
|
+ contactTel: '', // 联系电话
|
|
|
|
+ contactName: '', // 联系人
|
|
|
|
+ provinceSn: '', // 省
|
|
|
|
+ provinceName: '',
|
|
|
|
+ citySn: '', // 市
|
|
|
|
+ cityName: '',
|
|
|
|
+ countySn: '', // 区
|
|
|
|
+ countyName: '',
|
|
|
|
+ customerAddr: '', // 详细地址
|
|
|
|
+ grabFlag: '1' // 是否抓单
|
|
|
|
+ }
|
|
|
|
+ this.$refs.custList.resetForm()
|
|
this.$emit('cancel')
|
|
this.$emit('cancel')
|
|
}
|
|
}
|
|
},
|
|
},
|