|
|
@ -82,8 +82,19 @@ |
|
|
|
|
|
|
|
|
|
|
|
</el-form> |
|
|
|
</el-form> |
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
<el-button type="text" @click="cancel">取消</el-button> |
|
|
|
<!-- <el-popconfirm--> |
|
|
|
<el-button :loading="loading" type="primary" @click="doSubmit">确认</el-button> |
|
|
|
<!-- confirm-button-text='取消'--> |
|
|
|
|
|
|
|
<!-- cancel-button-text='确认'--> |
|
|
|
|
|
|
|
<!-- icon="el-icon-info"--> |
|
|
|
|
|
|
|
<!-- icon-color="red"--> |
|
|
|
|
|
|
|
<!-- title="确定发放优惠券吗?"--> |
|
|
|
|
|
|
|
<!-- @onconfirm="doSubmit"--> |
|
|
|
|
|
|
|
<!-- >--> |
|
|
|
|
|
|
|
<!-- <el-button slot="reference" :loading="loading" type="primary">确认</el-button>--> |
|
|
|
|
|
|
|
<!-- </el-popconfirm>--> |
|
|
|
|
|
|
|
<el-button type="text" @click="cancel">取消</el-button> |
|
|
|
|
|
|
|
<el-button :loading="loading" type="primary" @click="doSubmit">确认</el-button> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
</el-dialog> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -163,7 +174,9 @@ export default { |
|
|
|
this.$message.success("发放成功") |
|
|
|
this.$message.success("发放成功") |
|
|
|
this.loading=false |
|
|
|
this.loading=false |
|
|
|
// } |
|
|
|
// } |
|
|
|
}) |
|
|
|
}).finally( |
|
|
|
|
|
|
|
this.loading=false |
|
|
|
|
|
|
|
) |
|
|
|
}, |
|
|
|
}, |
|
|
|
doAdd() { |
|
|
|
doAdd() { |
|
|
|
add(this.form).then(res => { |
|
|
|
add(this.form).then(res => { |
|
|
|