|
@@ -22,6 +22,7 @@
|
|
|
:max="99999999"
|
|
|
@blur="editAllPrice(record,'price')"
|
|
|
placeholder="请输入"
|
|
|
+ :disabled="disabledVal"
|
|
|
v-model="record.price"
|
|
|
:id="'productTable-price'+record.id "
|
|
|
size="small"/>
|
|
@@ -32,6 +33,7 @@
|
|
|
:step="1"
|
|
|
:precision="2"
|
|
|
:max="99999999"
|
|
|
+ :disabled="disabledVal"
|
|
|
@blur="editAllPrice(record,'ruleValue')"
|
|
|
placeholder="请输入"
|
|
|
v-model="record.ruleValue"
|
|
@@ -45,6 +47,7 @@
|
|
|
type="link"
|
|
|
class="button-error"
|
|
|
:id="'productTable-del-btn'+record.id "
|
|
|
+ :disabled="disabledVal"
|
|
|
@click="handleDel(record)"
|
|
|
>删除</a-button>
|
|
|
</template>
|
|
@@ -64,6 +67,10 @@ export default {
|
|
|
promoActiveSn: {
|
|
|
type: String,
|
|
|
default: ''
|
|
|
+ },
|
|
|
+ disabledVal: {
|
|
|
+ type: Boolean,
|
|
|
+ default: false
|
|
|
}
|
|
|
},
|
|
|
data () {
|