Changing spot to ex-rack
This commit is contained in:
parent
256eb48d36
commit
206cbe2bdd
|
@ -15,8 +15,8 @@
|
||||||
|
|
||||||
<span style="color: green">B: Enabled<br></span>
|
<span style="color: green">B: Enabled<br></span>
|
||||||
|
|
||||||
<span v-if="relationshipMatrix[`${buyerAccounts[scope.$index].id}-${seller.id}`].other.enabled_spot" style="color: green">S: Enabled<br></span>
|
<span v-if="relationshipMatrix[`${buyerAccounts[scope.$index].id}-${seller.id}`].other.enabled_spot" style="color: green">E: Enabled<br></span>
|
||||||
<span v-else style="color: red">S: Disabled<br></span>
|
<span v-else style="color: red">E: Disabled<br></span>
|
||||||
</span>
|
</span>
|
||||||
<span v-else style="color: red;">
|
<span v-else style="color: red;">
|
||||||
No Relationship
|
No Relationship
|
||||||
|
|
|
@ -80,7 +80,7 @@
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label-width="120px" label="Status" class="postInfo-container-item">
|
<el-form-item label-width="120px" label="Status" class="postInfo-container-item">
|
||||||
<el-radio-group v-model="postForm.type">
|
<el-radio-group v-model="postForm.type">
|
||||||
<el-radio-button label="SPOT">SPOT</el-radio-button>
|
<el-radio-button label="EX-RACK">EX-RACK</el-radio-button>
|
||||||
<el-radio-button label="BUNKERING">BUNKERING</el-radio-button>
|
<el-radio-button label="BUNKERING">BUNKERING</el-radio-button>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -228,7 +228,7 @@ export default {
|
||||||
console.log(this.postForm)
|
console.log(this.postForm)
|
||||||
console.log(this.postForm.type)
|
console.log(this.postForm.type)
|
||||||
if (this.$store.state.settings.platform === 'OLFDE') {
|
if (this.$store.state.settings.platform === 'OLFDE') {
|
||||||
this.postForm.type === 'SPOT'
|
this.postForm.type === 'EX-RACK'
|
||||||
}
|
}
|
||||||
// Save the account
|
// Save the account
|
||||||
const methodToCall = this.isEdit ? updateProduct : createProduct
|
const methodToCall = this.isEdit ? updateProduct : createProduct
|
||||||
|
|
Loading…
Reference in New Issue