This commit is contained in:
2020-07-15 13:48:20 +00:00
parent 60ab6a8c16
commit 37e84b9181

View File

@@ -22,8 +22,11 @@
@input="fieldValueChanged('eventType')"
></v-select>
</v-col>
<v-col v-if="showIdValue" cols="12" sm="6" lg="4" xl="3">
todo: idValue here for wostatus, quotestatus,
<v-col v-if="showWoStatus" cols="12" sm="6" lg="4" xl="3">
todo: idValue here for wostatus
</v-col>
<v-col v-if="showQuoteStatus" cols="12" sm="6" lg="4" xl="3">
todo: idValue here for quotestatus
</v-col>
<v-col v-if="showDecValue" cols="12" sm="6" lg="4" xl="3">
@@ -291,11 +294,20 @@ export default {
showDeliveryAddress() {
return this.obj.deliveryMethod == 2;
},
showIdValue() {
return true;
showWoStatus() {
switch (this.obj.eventType) {
case 4:
case 24:
return true;
default:
return false;
}
},
showQuoteStatus() {
return this.obj.eventType == 9;
},
showDecValue() {
return true;
return this.obj.eventType == 23;
},
showAyaType() {
return true;