|
@@ -100,6 +100,7 @@ export default {
|
|
|
spinning: false,
|
|
|
detailInfo: null,
|
|
|
sourceData: [],
|
|
|
+ priceVal: undefined,
|
|
|
columns: [
|
|
|
{ title: '产品编码', dataIndex: 'productCode', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '价格级别', dataIndex: 'priceLevelDictValue', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
@@ -154,8 +155,7 @@ export default {
|
|
|
}, {
|
|
|
id: 1,
|
|
|
nameWord: '以【价格变更后】为准'
|
|
|
- }],
|
|
|
- priceVal: undefined
|
|
|
+ }]
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -166,7 +166,7 @@ export default {
|
|
|
// 保存
|
|
|
handleSubmit () {
|
|
|
const _this = this
|
|
|
- if (!_this.priceVal) {
|
|
|
+ if (_this.priceVal === undefined) {
|
|
|
this.$message.warning('请选择价格变更标准!')
|
|
|
return
|
|
|
}
|