1 line
11 KiB
JSON
1 line
11 KiB
JSON
|
|
{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js!E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\hz-zhhq-web\\src\\views\\canteen\\foodPrepare\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\canteen\\foodPrepare\\index.vue","mtime":1737610069407},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.number.constructor\";\nimport \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es7.string.pad-start\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport Paging from \"@/views/Public/paging.vue\";\nimport { listCanteenPlan, delCanteenPlan, modifyCanteenPlan, Own } from \"@/api/getdata\";\nimport Popup from \"@/views/estate/examine/dialog/popup.vue\";\nexport default {\n components: {\n Paging: Paging,\n Popup: Popup\n },\n data: function data() {\n var valNum = function valNum(rule, value, callback) {\n var reg = /^[0-9]+(\\.[0-9]{1,2})?$/;\n if (reg.test(value)) {\n callback();\n } else {\n callback(new Error('请输入正数(包含两位小数)'));\n }\n };\n var checkUnit = function checkUnit(rule, value, callback) {\n var reg = \"克千克件\";\n if (reg.indexOf(value) != -1) {\n callback();\n } else {\n callback(new Error('请输入克,千克,件'));\n }\n };\n return {\n loading: false,\n loadingMsg: \"\",\n row: {\n UUID: '',\n NUM: '',\n UNIT: '',\n NOTES: '',\n RAW_NAME: ''\n },\n title: '编辑',\n updatePopup: false,\n rowRule: {\n NUM: [{\n required: true,\n message: \"请输入数量\",\n trigger: \"blur\"\n }, {\n validator: valNum,\n trigger: \"blur\"\n }],\n UNIT: [{\n required: true,\n message: \"请输入单位\",\n trigger: \"blur\"\n }, {\n validator: checkUnit,\n trigger: \"blur\"\n }]\n },\n fileList: [],\n validation: false,\n completeTitle: \"删除\",\n nav: \"是否删除?\",\n isview: false,\n formInline: {\n staffName: \"\",\n TIME: ''\n },\n healthStatus: [],\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n },\n tableData: []\n };\n },\n created: function created() {\n window.addEventListener('keydown', this.handleKeyDown, true);\n },\n mounted: function mounted() {\n this.getNowDate();\n this.createLoad();\n if (this.$route.params.index) {\n this.currentChanges(this.$route.params.i
|