@@ -1487,13 +1487,13 @@ export default {
is_p = false;
}
});
- if (!is_p) {
- this.$message.warning(
- "启用实时金价的贵金属商品不能填写成本单价!"
- );
- this.loading = false;
- return;
- }
+ // if (!is_p) {
+ // this.$message.warning(
+ // "启用实时金价的贵金属商品不能填写成本单价!"
+ // );
+ // this.loading = false;
+ // return;
+ //}
let model = JSON.parse(JSON.stringify(this.ruleForm));
@@ -44,6 +44,7 @@
@timeReturned="handleTime"
/>
</el-col>
+
<el-col :span="4" style="width: 135px">
<search-brand
:value="brandid"
@@ -172,7 +172,7 @@ export default {
},
fixedOptions(){
return [
- {value:'1',label:'一口价'},
+ { value: '1', label: '一口价' },
...(this.isNoble ? [{ value: '0', label: '实时金价' }] : [])
]
@@ -1498,13 +1498,13 @@ export default {