{"remainingRequest":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/libs/modal-attr.js","dependencies":[{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/libs/modal-attr.js","mtime":1701742078550},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/babel.config.js","mtime":1701742078504},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/babel-loader/lib/index.js","mtime":456789000000}],"contextDependencies":[],"result":["// +----------------------------------------------------------------------\n// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]\n// +----------------------------------------------------------------------\n// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.\n// +----------------------------------------------------------------------\n// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权\n// +----------------------------------------------------------------------\n// | Author: CRMEB Team <admin@crmeb.com>\n// +----------------------------------------------------------------------\n\n/**\n * 商品规格弹窗形式组件\n * @param val 值\n * @param callback 回调函数\n * @param keyNum 重置组件key值\n * @returns {Promise<any>}\n */\nexport default function modalAttr(val, callback, keyNum) {\n  var _this = this;\n  var h = this.$createElement;\n  return new Promise(function (resolve, reject) {\n    _this.$msgbox({\n      title: '属性规格',\n      customClass: 'upload-form',\n      closeOnClickModal: false,\n      showClose: false,\n      message: h('div', {\n        class: 'common-form-upload'\n      }, [h('attrFrom', {\n        props: {\n          currentRow: val,\n          keyNum: keyNum\n        },\n        on: {\n          getList: function getList() {\n            callback();\n          }\n        }\n      })]),\n      showCancelButton: false,\n      showConfirmButton: false\n    }).then(function () {\n      resolve();\n    }).catch(function () {\n      reject();\n      _this.$message({\n        type: 'info',\n        message: '已取消'\n      });\n    });\n  });\n}",null]}