|
|
@@ -1149,11 +1149,10 @@ export default {
|
|
|
size: this.size,
|
|
|
bar_code: this.BarCode,
|
|
|
sample_code: this.SampleCode,
|
|
|
- sample_type: this.SampleType,
|
|
|
- start_date: this.StartDate,
|
|
|
- end_date: this.EndDate,
|
|
|
+ sample_type: this.SampleType == '' ? 0 : this.SampleType,
|
|
|
+ create_on: this.create_on,
|
|
|
d_item: this.DItem,
|
|
|
- equipment_ids: this.EquipmentIds,
|
|
|
+ equipment_ids: (this.EquipmentIds).length == 0 ? '' : this.EquipmentIds.join(','),
|
|
|
stnote_value: this.Stnotevalue,
|
|
|
stnote_field: this.STNoteField,
|
|
|
create_by: this.CreateBy,
|