| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- /*******************************************************************************
- * Copyright(c) 2022 dongke All rights reserved. / Confidential
- * 类的信息:
- * 1.程序名称:
- * 编辑履历:
- * 作者 日期 版本 修改内容
- * 于继渤 2022-5-05 1.00 底部工具栏-保存
- *******************************************************************************/
- Component({
- /**
- * 组件的属性列表
- */
- properties: {
- item: { //参数
- type: Object,
- default: {
- label_one: '合计金额',
- label_two: '定金金额',
- label_three: '定金比率',
- submit: '保存'
- }
- },
- submitFlag: { //按钮显示隐藏
- type: Boolean,
- value: true,
- },
- allCleanFlag: {//按钮显示隐藏
- type: Boolean,
- value: true,
- },
- buyingSignalFlag: {
- type: Boolean,
- value: false,
- },
- totallength: { //合计数量
- type: String,
- default: '0.00'
- },
- selectlength: { // 已选 或 共件
- type: String,
- default: '0.00'
- },
- selectTotallength: { // 共件
- type: String,
- default: '0.00'
- },
- flagTypeName: { //属性
- type: String,
- default: 'order-save'
- },
- disabledFlag:{
- type: Boolean,
- value: false,
- }
- },
- options: {
- multipleSlots: true,//插槽
- styleIsolation: 'shared',
- },
- /**
- * 组件的初始数据
- */
- data: {
- allCheck: true,
- },
- /**
- * 组件生命周期
- */
- lifetimes: {
- attached: function () {
- },
- detached: function () {
- // 在组件实例被从页面节点树移除时执行
- },
- },
- /**
- * 组件的方法列表
- */
- methods: {
- /**
- * 确定
- */
- submit() {
- this.triggerEvent('submit')
- },
- /**
- * 批量清理
- */
- allClean() {
- this.triggerEvent('allClean')
- },
- }
- })
|