|
@@ -474,7 +474,11 @@ export default {
|
|
|
}
|
|
|
if (valid) {
|
|
|
if (this.form.fId != null) {
|
|
|
- this.form.fCharg = this.form.fCharg == '是' ? '1' : '0'
|
|
|
+ if(this.form.fCharg == '是' || this.form.fCharg == '1' ){
|
|
|
+ this.form.fCharg = '1'
|
|
|
+ } else{
|
|
|
+ this.form.fCharg = '0'
|
|
|
+ }
|
|
|
let formDate= new FormData()
|
|
|
formDate.append('tWarehouse',JSON.stringify(this.form));
|
|
|
formDate.append('tWarehouseArea',JSON.stringify(this.contactList));
|