mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 18:51:08 +03:30
nwe commit package Item
This commit is contained in:
@@ -61,10 +61,7 @@
|
||||
></v-text-field>
|
||||
</v-flex>
|
||||
<v-flex xs12 sm4 md4>
|
||||
<v-switch
|
||||
v-model="formData.result"
|
||||
:label="'Result: ' + ((formData.result) ? 'Accept' : 'Reject')"
|
||||
></v-switch>
|
||||
<v-switch v-model="result" :label="'Result: ' + formData.result"></v-switch>
|
||||
</v-flex>
|
||||
<v-flex xs12 sm12 md12>
|
||||
<div>
|
||||
@@ -258,10 +255,11 @@ export default {
|
||||
name: "",
|
||||
unique_code: ""
|
||||
},
|
||||
result: false,
|
||||
formData: {
|
||||
device_id: "",
|
||||
device_label: "AutoClaveID or WasherID",
|
||||
result: "",
|
||||
result: "Reject",
|
||||
cycle_number: "",
|
||||
img: null,
|
||||
test_type_id: ""
|
||||
@@ -394,6 +392,13 @@ export default {
|
||||
watch: {
|
||||
images(img) {
|
||||
this.formData.imgs = img;
|
||||
},
|
||||
result(value) {
|
||||
if (value) {
|
||||
this.formData.result = "Accept";
|
||||
} else {
|
||||
this.formData.result = "Reject";
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user