Commit 942850bd by 肖康

x

parent 6abf6968
...@@ -239,6 +239,7 @@ ...@@ -239,6 +239,7 @@
methods: { methods: {
getData() { getData() {
var userInfo_ = sessionStorage.getItem('userInfox'); var userInfo_ = sessionStorage.getItem('userInfox');
if (userInfo_) { if (userInfo_) {
this.userinfo = JSON.parse(userInfo_); this.userinfo = JSON.parse(userInfo_);
} else { } else {
......
...@@ -102,7 +102,7 @@ router.beforeEach((to, from, next) => { ...@@ -102,7 +102,7 @@ router.beforeEach((to, from, next) => {
} else { } else {
let token = Util.getCookie('token') || ''; let token = Util.getCookie('token') || '';
if (!token) { if (!token) {
alert(0) sessionStorage.removeItem('userInfox')
var path_=window.location.hash var path_=window.location.hash
path_=path_.substr(1) path_=path_.substr(1)
window.location.href = '/#/login?referer=' + encodeURI(path_); window.location.href = '/#/login?referer=' + encodeURI(path_);
......
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<div class="boxxrth2021"> <div class="boxxrth2021">
<p class="clr" v-for="item in scope.row.hk_ladder_price"> <p class="clr" v-for="item in scope.row.hk_ladder_price">
<span class="fl">{{item.purchases}}+</span> <span class="fl">{{item.purchases}}+</span>
<span class="fl">&yen;{{item.price}}</span> <span class="fl">${{item.price}}</span>
</p> </p>
</div> </div>
</div> </div>
...@@ -253,7 +253,7 @@ ...@@ -253,7 +253,7 @@
<el-input v-model="ruleForm.moq" placeholder="请输入起订量" :value="ruleForm.moq"></el-input> <el-input v-model="ruleForm.moq" placeholder="请输入起订量" :value="ruleForm.moq"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="报价有效期" prop="expire_time"> <el-form-item label="报价有效期" prop="expire_time">
<el-date-picker type="date" placeholder="选择报价有效期" v-model="ruleForm.expire_time"></el-date-picker> <el-date-picker type="date" placeholder="选择报价有效期" value-format="yyyy-MM-dd" v-model="ruleForm.expire_time"></el-date-picker>
</el-form-item> </el-form-item>
</div> </div>
</div> </div>
...@@ -295,13 +295,13 @@ ...@@ -295,13 +295,13 @@
Dialog, Dialog,
Pagination, Pagination,
Autocomplete, Autocomplete,
Loading, // Loading,
Tooltip Tooltip
} from 'element-ui' } from 'element-ui'
Vue.prototype.$message=Message Vue.prototype.$message=Message
Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog).use(Autocomplete).use(Loading) Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog).use(Autocomplete).use(Tooltip)
.use(Tooltip); // .use(Loading);
Vue.use(DatePicker).use(Dropdown).use(DropdownMenu).use(DropdownItem).use(TableColumn).use(Table).use(Pagination); Vue.use(DatePicker).use(Dropdown).use(DropdownMenu).use(DropdownItem).use(TableColumn).use(Table).use(Pagination)
export default { export default {
name: "InquireDetail", name: "InquireDetail",
...@@ -320,6 +320,7 @@ ...@@ -320,6 +320,7 @@
isModify: false, isModify: false,
tableData: [], tableData: [],
historyList: [], historyList: [],
submitState:0,
ruleForm: { ruleForm: {
inquiry_id: '', inquiry_id: '',
inquiry_sn: '', inquiry_sn: '',
...@@ -534,10 +535,12 @@ ...@@ -534,10 +535,12 @@
}, },
submitForm(formName) { submitForm(formName) {
this.$refs[formName].validate((valid) => { this.$refs[formName].validate((valid) => {
if(this.submitState){return}
if (valid) { if (valid) {
let loadingInstance = Loading.service({ // let loadingInstance = Loading.service({
background: 'rgba(0, 0, 0, 0)' // background: 'rgba(0, 0, 0, 0)'
}); // });
this.submitState=1;
this.$http('post', "/api/quote/save", this.ruleForm).then(res => { this.$http('post', "/api/quote/save", this.ruleForm).then(res => {
if (res.err_code == 0) { if (res.err_code == 0) {
this.$message('操作成功'); this.$message('操作成功');
...@@ -554,16 +557,19 @@ ...@@ -554,16 +557,19 @@
} else { } else {
this.$message(res.err_msg); this.$message(res.err_msg);
} }
loadingInstance.close(); // loadingInstance.close();
this.submitState=0;
}) })
} else { } else {
this.$message(res.err_msg); this.$message(res.err_msg);
loadingInstance.close(); this.submitState=0;
//loadingInstance.close();
} }
}).catch(err => { }).catch(err => {
loadingInstance.close(); this.submitState=0;
//loadingInstance.close();
}); });
} else { } else {
console.log(this.ruleForm.delivery_time); console.log(this.ruleForm.delivery_time);
......
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
<div class="boxxrth2021"> <div class="boxxrth2021">
<p class="clr" v-for="item in scope.row.hk_ladder_price"> <p class="clr" v-for="item in scope.row.hk_ladder_price">
<span class="fl">{{item.purchases}}+</span> <span class="fl">{{item.purchases}}+</span>
<span class="fl">&yen;{{item.price}}</span> <span class="fl">${{item.price}}</span>
</p> </p>
</div> </div>
......
...@@ -1197,7 +1197,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n ...@@ -1197,7 +1197,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\").default;\n\nvar _vue = _interopRequireDefault(__webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm.js\"));\n\nvar _App = _interopRequireDefault(__webpack_require__(/*! ./App.vue */ \"./src/App.vue\"));\n\nvar _router = _interopRequireDefault(__webpack_require__(/*! ./router */ \"./src/router/index.js\"));\n\nvar _filters = _interopRequireDefault(__webpack_require__(/*! ./filters */ \"./src/filters/index.js\"));\n\nvar _directive = _interopRequireDefault(__webpack_require__(/*! ./directive */ \"./src/directive/index.js\"));\n\nvar _index = __webpack_require__(/*! ./ajax/index.js */ \"./src/ajax/index.js\");\n\nvar _axios = _interopRequireDefault(__webpack_require__(/*! axios */ \"./node_modules/axios/index.js\"));\n\nvar _loading = __webpack_require__(/*! ./ajax/loading */ \"./src/ajax/loading.js\");\n\nvar _tool = _interopRequireDefault(__webpack_require__(/*! ./tool */ \"./src/tool/index.js\"));\n\n__webpack_require__(/*! @/assets/css/public/common.min.css */ \"./src/assets/css/public/common.min.css\");\n\n__webpack_require__(/*! @/assets/css/font/iconfont.css */ \"./src/assets/css/font/iconfont.css\");\n\n//本地环境开启提示信息\n_vue.default.config.productionTip = false; //加载全局样式\n\n//加载过滤器\nObject.keys(_filters.default).forEach(key => _vue.default.filter(key, _filters.default[key])); //加载自定义指令\n\n_vue.default.use(_directive.default); //处理顶部导航TAB\n\n\n_router.default.afterEach((to, from, next) => {\n if (to.path == \"/\" || to.path == \"/login\" || to.path == '/notfound') {\n return;\n }\n\n let tabOldArr = sessionStorage.getItem('tabs');\n let tabOldJson;\n let tabNewJson = [];\n\n if (tabOldArr) {\n tabOldJson = JSON.parse(tabOldArr);\n\n for (var i = 0; i < tabOldJson.length; i++) {\n tabNewJson.push(JSON.stringify(tabOldJson[i]));\n }\n\n if (tabNewJson.indexOf(JSON.stringify({\n path: to.path,\n title: to.meta.title,\n query: to.query\n })) == -1) {\n tabOldJson.push({\n path: to.path,\n title: to.meta.title,\n query: to.query\n });\n }\n } else {\n tabOldJson = [{\n path: to.path,\n title: to.meta.title,\n query: to.query\n }];\n }\n\n if (tabOldJson) {\n sessionStorage.setItem('tabs', JSON.stringify(tabOldJson));\n }\n});\n\n_axios.default.interceptors.request.use(config => {\n if (config.loading) {\n (0, _loading.showLoading)();\n }\n\n return config;\n}, err => {\n return Promise.reject(err);\n});\n\n_axios.default.interceptors.response.use(res => {\n (0, _loading.hideLoading)();\n\n if (res.data.err_code == 101) {\n //token验证失败\n var path_ = window.location.hash;\n path_ = path_.substr(1);\n console.log(path_);\n window.location.href = '/#/login?referer=' + encodeURI(path_);\n }\n\n return res.data;\n}, error => {\n // Message('网络出现问题,请检查网络');\n (0, _loading.hideLoading)();\n return Promise.reject(new Error(error));\n}); //挂载到VUE原型上封装后的http请求\n\n\n_vue.default.prototype.$http = _index.http; //路由页面回跳处理 mate里面参数 back:true 开启登录态回跳\n\n_router.default.beforeEach((to, from, next) => {\n if (to.path == \"/login\" || to.path == '/notfound') {\n next();\n } else {\n let token = _tool.default.getCookie('token') || '';\n\n if (!token) {\n alert(0);\n var path_ = window.location.hash;\n path_ = path_.substr(1);\n window.location.href = '/#/login?referer=' + encodeURI(path_);\n history.go(0);\n } else {\n next();\n }\n }\n});\n\nnew _vue.default({\n router: _router.default,\n render: h => h(_App.default)\n}).$mount(\"#app\");\n\n//# sourceURL=webpack:///./src/main.js?"); eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\").default;\n\nvar _vue = _interopRequireDefault(__webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm.js\"));\n\nvar _App = _interopRequireDefault(__webpack_require__(/*! ./App.vue */ \"./src/App.vue\"));\n\nvar _router = _interopRequireDefault(__webpack_require__(/*! ./router */ \"./src/router/index.js\"));\n\nvar _filters = _interopRequireDefault(__webpack_require__(/*! ./filters */ \"./src/filters/index.js\"));\n\nvar _directive = _interopRequireDefault(__webpack_require__(/*! ./directive */ \"./src/directive/index.js\"));\n\nvar _index = __webpack_require__(/*! ./ajax/index.js */ \"./src/ajax/index.js\");\n\nvar _axios = _interopRequireDefault(__webpack_require__(/*! axios */ \"./node_modules/axios/index.js\"));\n\nvar _loading = __webpack_require__(/*! ./ajax/loading */ \"./src/ajax/loading.js\");\n\nvar _tool = _interopRequireDefault(__webpack_require__(/*! ./tool */ \"./src/tool/index.js\"));\n\n__webpack_require__(/*! @/assets/css/public/common.min.css */ \"./src/assets/css/public/common.min.css\");\n\n__webpack_require__(/*! @/assets/css/font/iconfont.css */ \"./src/assets/css/font/iconfont.css\");\n\n//本地环境开启提示信息\n_vue.default.config.productionTip = false; //加载全局样式\n\n//加载过滤器\nObject.keys(_filters.default).forEach(key => _vue.default.filter(key, _filters.default[key])); //加载自定义指令\n\n_vue.default.use(_directive.default); //处理顶部导航TAB\n\n\n_router.default.afterEach((to, from, next) => {\n if (to.path == \"/\" || to.path == \"/login\" || to.path == '/notfound') {\n return;\n }\n\n let tabOldArr = sessionStorage.getItem('tabs');\n let tabOldJson;\n let tabNewJson = [];\n\n if (tabOldArr) {\n tabOldJson = JSON.parse(tabOldArr);\n\n for (var i = 0; i < tabOldJson.length; i++) {\n tabNewJson.push(JSON.stringify(tabOldJson[i]));\n }\n\n if (tabNewJson.indexOf(JSON.stringify({\n path: to.path,\n title: to.meta.title,\n query: to.query\n })) == -1) {\n tabOldJson.push({\n path: to.path,\n title: to.meta.title,\n query: to.query\n });\n }\n } else {\n tabOldJson = [{\n path: to.path,\n title: to.meta.title,\n query: to.query\n }];\n }\n\n if (tabOldJson) {\n sessionStorage.setItem('tabs', JSON.stringify(tabOldJson));\n }\n});\n\n_axios.default.interceptors.request.use(config => {\n if (config.loading) {\n (0, _loading.showLoading)();\n }\n\n return config;\n}, err => {\n return Promise.reject(err);\n});\n\n_axios.default.interceptors.response.use(res => {\n (0, _loading.hideLoading)();\n\n if (res.data.err_code == 101) {\n //token验证失败\n var path_ = window.location.hash;\n path_ = path_.substr(1);\n console.log(path_);\n window.location.href = '/#/login?referer=' + encodeURI(path_);\n }\n\n return res.data;\n}, error => {\n // Message('网络出现问题,请检查网络');\n (0, _loading.hideLoading)();\n return Promise.reject(new Error(error));\n}); //挂载到VUE原型上封装后的http请求\n\n\n_vue.default.prototype.$http = _index.http; //路由页面回跳处理 mate里面参数 back:true 开启登录态回跳\n\n_router.default.beforeEach((to, from, next) => {\n if (to.path == \"/login\" || to.path == '/notfound') {\n next();\n } else {\n let token = _tool.default.getCookie('token') || '';\n\n if (!token) {\n sessionStorage.removeItem('userInfox');\n var path_ = window.location.hash;\n path_ = path_.substr(1);\n window.location.href = '/#/login?referer=' + encodeURI(path_);\n history.go(0);\n } else {\n next();\n }\n }\n});\n\nnew _vue.default({\n router: _router.default,\n render: h => h(_App.default)\n}).$mount(\"#app\");\n\n//# sourceURL=webpack:///./src/main.js?");
/***/ }), /***/ }),
......
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="http://yunxin.liexindev.net/favicon.ico"> <link rel="icon" href="http://yunxin.liexindev.net/favicon.ico">
<title>cloudsystem</title> <title>cloudsystem</title>
<link href="http://yunxin.liexindev.net/js/0.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/1.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/10.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/11.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/12.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/13.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/14.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/15.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/16.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/17.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/18.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/19.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/2.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/20.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/21.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/22.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/23.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/24.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/25.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/3.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/4.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/5.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/6.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/7.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/8.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/9.js" rel="prefetch"><link href="http://yunxin.liexindev.net/app.bf99e032390bab33979d.js" rel="preload" as="script"></head> <link href="http://yunxin.liexindev.net/js/0.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/1.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/10.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/11.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/12.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/13.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/14.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/15.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/16.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/17.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/18.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/19.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/2.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/20.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/21.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/22.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/23.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/24.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/25.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/3.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/4.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/5.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/6.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/7.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/8.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/9.js" rel="prefetch"><link href="http://yunxin.liexindev.net/app.4d1840f356f89f287c80.js" rel="preload" as="script"></head>
<body> <body>
<noscript> <noscript>
<strong>网络异常,请稍后加载</strong> <strong>网络异常,请稍后加载</strong>
</noscript> </noscript>
<div id="app"></div> <div id="app"></div>
<!-- built files will be auto injected --> <!-- built files will be auto injected -->
<script type="text/javascript" src="http://yunxin.liexindev.net/app.bf99e032390bab33979d.js"></script></body> <script type="text/javascript" src="http://yunxin.liexindev.net/app.4d1840f356f89f287c80.js"></script></body>
</html> </html>
This diff could not be displayed because it is too large.
...@@ -20,7 +20,7 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! ./node_modules/@b ...@@ -20,7 +20,7 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! ./node_modules/@b
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"store pagex\" },\n [\n _c(\n \"div\",\n { staticClass: \"store-con\" },\n [\n _c(\n \"el-form\",\n {\n staticClass: \"demo-form-inline\",\n attrs: { inline: true, model: _vm.formInline }\n },\n [\n _c(\n \"el-form-item\",\n { attrs: { label: \"型号\" } },\n [\n _c(\"el-autocomplete\", {\n attrs: {\n \"trigger-on-focus\": false,\n \"fetch-suggestions\": _vm.querySearchAsync,\n placeholder: \"请输入型号\"\n },\n on: { select: _vm.handleSelectGoodsName },\n model: {\n value: _vm.formInline.goods_name,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"goods_name\", $$v)\n },\n expression: \"formInline.goods_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"品牌\" } },\n [\n _c(\"el-autocomplete\", {\n attrs: {\n \"trigger-on-focus\": false,\n \"fetch-suggestions\": _vm.querySearchAsync2,\n placeholder: \"请输入品牌\"\n },\n on: { select: _vm.handleSelectBrandName },\n model: {\n value: _vm.formInline.brand_name,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"brand_name\", $$v)\n },\n expression: \"formInline.brand_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"状态\" } },\n [\n _c(\n \"el-select\",\n {\n attrs: { placeholder: \"请选择\" },\n model: {\n value: _vm.formInline.status,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"status\", $$v)\n },\n expression: \"formInline.status\"\n }\n },\n [\n _c(\"el-option\", { attrs: { label: \"全部\", value: \"\" } }),\n _c(\"el-option\", { attrs: { label: \"上架\", value: \"1\" } }),\n _c(\"el-option\", { attrs: { label: \"下架\", value: \"3\" } })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"更新日期\" } },\n [\n _c(\"el-date-picker\", {\n attrs: {\n type: \"daterange\",\n \"value-format\": \"yyyy-MM-dd\",\n \"range-separator\": \"至\",\n \"start-placeholder\": \"开始日期\",\n \"end-placeholder\": \"结束日期\"\n },\n model: {\n value: _vm.formInline.date,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"date\", $$v)\n },\n expression: \"formInline.date\"\n }\n })\n ],\n 1\n ),\n _c(\"el-form-item\", [\n _c(\n \"div\",\n { staticClass: \"search-btn\", on: { click: _vm.onSubmit } },\n [_vm._v(\"搜索\")]\n )\n ])\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"btn-nav clr\" }, [\n _c(\n \"div\",\n { staticClass: \"fl\" },\n [\n _c(\n \"el-dropdown\",\n { on: { command: _vm.handleCommand } },\n [\n _c(\"div\", { staticClass: \"update\" }, [\n _vm._v(\"修改 |\"),\n _c(\"i\", { staticClass: \"el-icon-arrow-down\" })\n ]),\n _c(\n \"el-dropdown-menu\",\n { attrs: { slot: \"dropdown\" }, slot: \"dropdown\" },\n [\n _c(\"el-dropdown-item\", { attrs: { command: \"1\" } }, [\n _vm._v(\"修改库存\")\n ]),\n _c(\"el-dropdown-item\", { attrs: { command: \"2\" } }, [\n _vm._v(\"修改交期\")\n ])\n ],\n 1\n )\n ],\n 1\n )\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"fl dcg\", on: { click: _vm.downOut } }, [\n _vm._v(\"导出\")\n ]),\n _c(\n \"div\",\n {\n staticClass: \"fl dcg heti\",\n on: {\n click: function($event) {\n return _vm.changeStatus(1)\n }\n }\n },\n [_vm._v(\"上架\")]\n ),\n _c(\n \"div\",\n {\n staticClass: \"fl dcg heti xjk\",\n on: {\n click: function($event) {\n return _vm.changeStatus(3)\n }\n }\n },\n [_vm._v(\"下架\")]\n ),\n _c(\n \"a\",\n {\n ref: \"downs\",\n staticStyle: { display: \"none\" },\n attrs: { href: _vm.downHref, target: \"_blank\" }\n },\n [_vm._v(\"下载\")]\n )\n ]),\n _c(\n \"div\",\n { staticClass: \"data-box\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.tableData, border: \"\" },\n on: { \"selection-change\": _vm.handleSelectionChange }\n },\n [\n _c(\"el-table-column\", {\n attrs: { fixed: \"\", type: \"selection\", width: \"37\" }\n }),\n _c(\"el-table-column\", {\n attrs: {\n fixed: \"\",\n prop: \"goods_name\",\n label: \"型号\",\n width: \"180\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n fixed: \"\",\n prop: \"goods_sn\",\n label: \"供应商内部型号编码\",\n width: \"180\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n fixed: \"\",\n prop: \"brand_name\",\n label: \"品牌\",\n width: \"180\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"batch_sn\", label: \"封装\", width: \"180\" }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"moq\", label: \"起订量\", width: \"150\" }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"mpq\", label: \"标准包装量\", width: \"150\" }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"stock\", label: \"库存数量\", width: \"150\" }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"cn_ladder_price\",\n label: \"国内含税价(¥)\",\n width: \"140\"\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(scope) {\n return scope.row.cn_ladder_price &&\n scope.row.cn_ladder_price.length > 0\n ? [\n _c(\n \"div\",\n { staticClass: \"price-more\" },\n [\n _c(\n \"el-tooltip\",\n {\n attrs: {\n placement: \"bottom\",\n effect: \"light\"\n }\n },\n [\n _c(\n \"div\",\n {\n attrs: { slot: \"content\" },\n slot: \"content\"\n },\n [\n _c(\n \"div\",\n { staticClass: \"boxxrth2021\" },\n _vm._l(\n scope.row.cn_ladder_price,\n function(item) {\n return _c(\n \"p\",\n { staticClass: \"clr\" },\n [\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n _vm._s(\n item.purchases\n ) + \"+\"\n )\n ]\n ),\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n \"¥\" +\n _vm._s(\n item.price\n )\n )\n ]\n )\n ]\n )\n }\n ),\n 0\n )\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"more-search-btn\" },\n [_vm._v(\"查看更多\")]\n )\n ]\n )\n ],\n 1\n )\n ]\n : undefined\n }\n }\n ],\n null,\n true\n )\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"hk_ladder_price\",\n label: \"香港交货价($)\",\n width: \"150\"\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(scope) {\n return scope.row.hk_ladder_price &&\n scope.row.hk_ladder_price.length > 0\n ? [\n _c(\n \"div\",\n { staticClass: \"price-more\" },\n [\n _c(\n \"el-tooltip\",\n {\n attrs: {\n placement: \"bottom\",\n effect: \"light\"\n }\n },\n [\n _c(\n \"div\",\n {\n attrs: { slot: \"content\" },\n slot: \"content\"\n },\n [\n _c(\n \"div\",\n { staticClass: \"boxxrth2021\" },\n _vm._l(\n scope.row.hk_ladder_price,\n function(item) {\n return _c(\n \"p\",\n { staticClass: \"clr\" },\n [\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n _vm._s(\n item.purchases\n ) + \"+\"\n )\n ]\n ),\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n \"¥\" +\n _vm._s(\n item.price\n )\n )\n ]\n )\n ]\n )\n }\n ),\n 0\n )\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"more-search-btn\" },\n [_vm._v(\"查看更多\")]\n )\n ]\n )\n ],\n 1\n )\n ]\n : undefined\n }\n }\n ],\n null,\n true\n )\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"cn_delivery_time\",\n label: \"大陆交期\",\n width: \"150\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"hk_delivery_time\",\n label: \"香港交期\",\n width: \"150\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"goods_status\",\n label: \"状态\",\n width: \"150\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n scope.row.goods_status == 1\n ? _c(\"span\", { staticClass: \"f-green\" }, [\n _vm._v(\"上架\")\n ])\n : scope.row.goods_status == 3\n ? _c(\"span\", [_vm._v(\"下架\")])\n : _vm._e()\n ]\n }\n }\n ])\n })\n ],\n 1\n ),\n _c(\"el-pagination\", {\n attrs: {\n layout: \"prev, pager, next,jumper\",\n \"page-size\": _vm.limit,\n total: _vm.total,\n \"current-page\": _vm.page\n },\n on: { \"current-change\": _vm.handleCurrentChange }\n })\n ],\n 1\n ),\n _c(\n \"el-dialog\",\n {\n attrs: {\n title: \"修改库存\",\n visible: _vm.dialogVisible,\n width: \"800px\"\n },\n on: {\n \"update:visible\": function($event) {\n _vm.dialogVisible = $event\n }\n }\n },\n [\n _c(\n \"div\",\n { staticClass: \"kc-mask\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.kucundata, border: \"\" }\n },\n [\n _c(\"el-table-column\", {\n attrs: {\n prop: \"goods_name\",\n label: \"型号\",\n \"min-width\": \"25%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"brand_name\",\n label: \"品牌\",\n \"min-width\": \"25%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"stock\",\n label: \"库存数量\",\n \"min-width\": \"25%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: { label: \"修改库存\", \"min-width\": \"25%\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\"el-input\", {\n attrs: {\n placeholder: \"点击修改\",\n onkeyup:\n \"if(event.keyCode !=37 && event.keyCode != 39){if (!/^[\\\\d]+$/ig.test(this.value)){this.value='';}}\"\n },\n model: {\n value: scope.row.updateStock,\n callback: function($$v) {\n _vm.$set(scope.row, \"updateStock\", $$v)\n },\n expression: \"scope.row.updateStock\"\n }\n })\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"span\",\n {\n staticClass: \"dialog-footer\",\n attrs: { slot: \"footer\" },\n slot: \"footer\"\n },\n [\n _c(\n \"el-button\",\n {\n on: {\n click: function($event) {\n _vm.dialogVisible = false\n }\n }\n },\n [_vm._v(\"取 消\")]\n ),\n _c(\n \"el-button\",\n { attrs: { type: \"primary\" }, on: { click: _vm.submitKc } },\n [_vm._v(\"确 定\")]\n )\n ],\n 1\n )\n ]\n ),\n _c(\n \"el-dialog\",\n {\n attrs: {\n title: \"修改交期\",\n visible: _vm.dialogVisible2,\n width: \"800px\"\n },\n on: {\n \"update:visible\": function($event) {\n _vm.dialogVisible2 = $event\n }\n }\n },\n [\n _c(\n \"div\",\n { staticClass: \"kc-mask\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.huoqidata, border: \"\" }\n },\n [\n _c(\"el-table-column\", {\n attrs: {\n prop: \"goods_name\",\n label: \"型号\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"brand_name\",\n label: \"品牌\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"stock\",\n label: \"库存数量\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: { label: \"修改大陆交期\", \"min-width\": \"20%\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\n \"div\",\n { staticClass: \"updatebox\" },\n [\n _c(\"el-input\", {\n attrs: { placeholder: \"如:2-5\" },\n model: {\n value: scope.row.dlhq,\n callback: function($$v) {\n _vm.$set(scope.row, \"dlhq\", $$v)\n },\n expression: \"scope.row.dlhq\"\n }\n }),\n _c(\n \"div\",\n { staticClass: \"selectdw\" },\n [\n _c(\n \"el-select\",\n {\n staticClass: \"placehoload\",\n attrs: { placeholder: \"天\" },\n model: {\n value: scope.row.dlhqdw,\n callback: function($$v) {\n _vm.$set(\n scope.row,\n \"dlhqdw\",\n $$v\n )\n },\n expression: \"scope.row.dlhqdw\"\n }\n },\n [\n _c(\"el-option\", {\n attrs: {\n label: \"天\",\n value: \"天\"\n }\n }),\n _c(\"el-option\", {\n attrs: {\n label: \"周\",\n value: \"周\"\n }\n })\n ],\n 1\n )\n ],\n 1\n )\n ],\n 1\n )\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: { label: \"修改香港交期\", \"min-width\": \"20%\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\n \"div\",\n { staticClass: \"updatebox\" },\n [\n _c(\"el-input\", {\n attrs: { placeholder: \"如:2-5\" },\n model: {\n value: scope.row.hkhq,\n callback: function($$v) {\n _vm.$set(scope.row, \"hkhq\", $$v)\n },\n expression: \"scope.row.hkhq\"\n }\n }),\n _c(\n \"div\",\n { staticClass: \"selectdw\" },\n [\n _c(\n \"el-select\",\n {\n staticClass: \"placehoload\",\n attrs: { placeholder: \"天\" },\n model: {\n value: scope.row.hkhqdw,\n callback: function($$v) {\n _vm.$set(\n scope.row,\n \"hkhqdw\",\n $$v\n )\n },\n expression: \"scope.row.hkhqdw\"\n }\n },\n [\n _c(\"el-option\", {\n attrs: {\n label: \"天\",\n value: \"天\"\n }\n }),\n _c(\"el-option\", {\n attrs: {\n label: \"周\",\n value: \"周\"\n }\n })\n ],\n 1\n )\n ],\n 1\n )\n ],\n 1\n )\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"span\",\n {\n staticClass: \"dialog-footer\",\n attrs: { slot: \"footer\" },\n slot: \"footer\"\n },\n [\n _c(\n \"el-button\",\n {\n on: {\n click: function($event) {\n _vm.dialogVisible2 = false\n }\n }\n },\n [_vm._v(\"取 消\")]\n ),\n _c(\n \"el-button\",\n { attrs: { type: \"primary\" }, on: { click: _vm.submitHq } },\n [_vm._v(\"确 定\")]\n )\n ],\n 1\n )\n ]\n )\n ],\n 1\n ),\n _c(\"Menu\")\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/Store/list.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%221c089814-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"store pagex\" },\n [\n _c(\n \"div\",\n { staticClass: \"store-con\" },\n [\n _c(\n \"el-form\",\n {\n staticClass: \"demo-form-inline\",\n attrs: { inline: true, model: _vm.formInline }\n },\n [\n _c(\n \"el-form-item\",\n { attrs: { label: \"型号\" } },\n [\n _c(\"el-autocomplete\", {\n attrs: {\n \"trigger-on-focus\": false,\n \"fetch-suggestions\": _vm.querySearchAsync,\n placeholder: \"请输入型号\"\n },\n on: { select: _vm.handleSelectGoodsName },\n model: {\n value: _vm.formInline.goods_name,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"goods_name\", $$v)\n },\n expression: \"formInline.goods_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"品牌\" } },\n [\n _c(\"el-autocomplete\", {\n attrs: {\n \"trigger-on-focus\": false,\n \"fetch-suggestions\": _vm.querySearchAsync2,\n placeholder: \"请输入品牌\"\n },\n on: { select: _vm.handleSelectBrandName },\n model: {\n value: _vm.formInline.brand_name,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"brand_name\", $$v)\n },\n expression: \"formInline.brand_name\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"状态\" } },\n [\n _c(\n \"el-select\",\n {\n attrs: { placeholder: \"请选择\" },\n model: {\n value: _vm.formInline.status,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"status\", $$v)\n },\n expression: \"formInline.status\"\n }\n },\n [\n _c(\"el-option\", { attrs: { label: \"全部\", value: \"\" } }),\n _c(\"el-option\", { attrs: { label: \"上架\", value: \"1\" } }),\n _c(\"el-option\", { attrs: { label: \"下架\", value: \"3\" } })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"el-form-item\",\n { attrs: { label: \"更新日期\" } },\n [\n _c(\"el-date-picker\", {\n attrs: {\n type: \"daterange\",\n \"value-format\": \"yyyy-MM-dd\",\n \"range-separator\": \"至\",\n \"start-placeholder\": \"开始日期\",\n \"end-placeholder\": \"结束日期\"\n },\n model: {\n value: _vm.formInline.date,\n callback: function($$v) {\n _vm.$set(_vm.formInline, \"date\", $$v)\n },\n expression: \"formInline.date\"\n }\n })\n ],\n 1\n ),\n _c(\"el-form-item\", [\n _c(\n \"div\",\n { staticClass: \"search-btn\", on: { click: _vm.onSubmit } },\n [_vm._v(\"搜索\")]\n )\n ])\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"btn-nav clr\" }, [\n _c(\n \"div\",\n { staticClass: \"fl\" },\n [\n _c(\n \"el-dropdown\",\n { on: { command: _vm.handleCommand } },\n [\n _c(\"div\", { staticClass: \"update\" }, [\n _vm._v(\"修改 |\"),\n _c(\"i\", { staticClass: \"el-icon-arrow-down\" })\n ]),\n _c(\n \"el-dropdown-menu\",\n { attrs: { slot: \"dropdown\" }, slot: \"dropdown\" },\n [\n _c(\"el-dropdown-item\", { attrs: { command: \"1\" } }, [\n _vm._v(\"修改库存\")\n ]),\n _c(\"el-dropdown-item\", { attrs: { command: \"2\" } }, [\n _vm._v(\"修改交期\")\n ])\n ],\n 1\n )\n ],\n 1\n )\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"fl dcg\", on: { click: _vm.downOut } }, [\n _vm._v(\"导出\")\n ]),\n _c(\n \"div\",\n {\n staticClass: \"fl dcg heti\",\n on: {\n click: function($event) {\n return _vm.changeStatus(1)\n }\n }\n },\n [_vm._v(\"上架\")]\n ),\n _c(\n \"div\",\n {\n staticClass: \"fl dcg heti xjk\",\n on: {\n click: function($event) {\n return _vm.changeStatus(3)\n }\n }\n },\n [_vm._v(\"下架\")]\n ),\n _c(\n \"a\",\n {\n ref: \"downs\",\n staticStyle: { display: \"none\" },\n attrs: { href: _vm.downHref, target: \"_blank\" }\n },\n [_vm._v(\"下载\")]\n )\n ]),\n _c(\n \"div\",\n { staticClass: \"data-box\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.tableData, border: \"\" },\n on: { \"selection-change\": _vm.handleSelectionChange }\n },\n [\n _c(\"el-table-column\", {\n attrs: { fixed: \"\", type: \"selection\", width: \"37\" }\n }),\n _c(\"el-table-column\", {\n attrs: {\n fixed: \"\",\n prop: \"goods_name\",\n label: \"型号\",\n width: \"180\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n fixed: \"\",\n prop: \"goods_sn\",\n label: \"供应商内部型号编码\",\n width: \"180\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n fixed: \"\",\n prop: \"brand_name\",\n label: \"品牌\",\n width: \"180\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"batch_sn\", label: \"封装\", width: \"180\" }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"moq\", label: \"起订量\", width: \"150\" }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"mpq\", label: \"标准包装量\", width: \"150\" }\n }),\n _c(\"el-table-column\", {\n attrs: { prop: \"stock\", label: \"库存数量\", width: \"150\" }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"cn_ladder_price\",\n label: \"国内含税价(¥)\",\n width: \"140\"\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(scope) {\n return scope.row.cn_ladder_price &&\n scope.row.cn_ladder_price.length > 0\n ? [\n _c(\n \"div\",\n { staticClass: \"price-more\" },\n [\n _c(\n \"el-tooltip\",\n {\n attrs: {\n placement: \"bottom\",\n effect: \"light\"\n }\n },\n [\n _c(\n \"div\",\n {\n attrs: { slot: \"content\" },\n slot: \"content\"\n },\n [\n _c(\n \"div\",\n { staticClass: \"boxxrth2021\" },\n _vm._l(\n scope.row.cn_ladder_price,\n function(item) {\n return _c(\n \"p\",\n { staticClass: \"clr\" },\n [\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n _vm._s(\n item.purchases\n ) + \"+\"\n )\n ]\n ),\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n \"¥\" +\n _vm._s(\n item.price\n )\n )\n ]\n )\n ]\n )\n }\n ),\n 0\n )\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"more-search-btn\" },\n [_vm._v(\"查看更多\")]\n )\n ]\n )\n ],\n 1\n )\n ]\n : undefined\n }\n }\n ],\n null,\n true\n )\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"hk_ladder_price\",\n label: \"香港交货价($)\",\n width: \"150\"\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function(scope) {\n return scope.row.hk_ladder_price &&\n scope.row.hk_ladder_price.length > 0\n ? [\n _c(\n \"div\",\n { staticClass: \"price-more\" },\n [\n _c(\n \"el-tooltip\",\n {\n attrs: {\n placement: \"bottom\",\n effect: \"light\"\n }\n },\n [\n _c(\n \"div\",\n {\n attrs: { slot: \"content\" },\n slot: \"content\"\n },\n [\n _c(\n \"div\",\n { staticClass: \"boxxrth2021\" },\n _vm._l(\n scope.row.hk_ladder_price,\n function(item) {\n return _c(\n \"p\",\n { staticClass: \"clr\" },\n [\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n _vm._s(\n item.purchases\n ) + \"+\"\n )\n ]\n ),\n _c(\n \"span\",\n { staticClass: \"fl\" },\n [\n _vm._v(\n \"$\" +\n _vm._s(\n item.price\n )\n )\n ]\n )\n ]\n )\n }\n ),\n 0\n )\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"more-search-btn\" },\n [_vm._v(\"查看更多\")]\n )\n ]\n )\n ],\n 1\n )\n ]\n : undefined\n }\n }\n ],\n null,\n true\n )\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"cn_delivery_time\",\n label: \"大陆交期\",\n width: \"150\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"hk_delivery_time\",\n label: \"香港交期\",\n width: \"150\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"goods_status\",\n label: \"状态\",\n width: \"150\"\n },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n scope.row.goods_status == 1\n ? _c(\"span\", { staticClass: \"f-green\" }, [\n _vm._v(\"上架\")\n ])\n : scope.row.goods_status == 3\n ? _c(\"span\", [_vm._v(\"下架\")])\n : _vm._e()\n ]\n }\n }\n ])\n })\n ],\n 1\n ),\n _c(\"el-pagination\", {\n attrs: {\n layout: \"prev, pager, next,jumper\",\n \"page-size\": _vm.limit,\n total: _vm.total,\n \"current-page\": _vm.page\n },\n on: { \"current-change\": _vm.handleCurrentChange }\n })\n ],\n 1\n ),\n _c(\n \"el-dialog\",\n {\n attrs: {\n title: \"修改库存\",\n visible: _vm.dialogVisible,\n width: \"800px\"\n },\n on: {\n \"update:visible\": function($event) {\n _vm.dialogVisible = $event\n }\n }\n },\n [\n _c(\n \"div\",\n { staticClass: \"kc-mask\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.kucundata, border: \"\" }\n },\n [\n _c(\"el-table-column\", {\n attrs: {\n prop: \"goods_name\",\n label: \"型号\",\n \"min-width\": \"25%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"brand_name\",\n label: \"品牌\",\n \"min-width\": \"25%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"stock\",\n label: \"库存数量\",\n \"min-width\": \"25%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: { label: \"修改库存\", \"min-width\": \"25%\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\"el-input\", {\n attrs: {\n placeholder: \"点击修改\",\n onkeyup:\n \"if(event.keyCode !=37 && event.keyCode != 39){if (!/^[\\\\d]+$/ig.test(this.value)){this.value='';}}\"\n },\n model: {\n value: scope.row.updateStock,\n callback: function($$v) {\n _vm.$set(scope.row, \"updateStock\", $$v)\n },\n expression: \"scope.row.updateStock\"\n }\n })\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"span\",\n {\n staticClass: \"dialog-footer\",\n attrs: { slot: \"footer\" },\n slot: \"footer\"\n },\n [\n _c(\n \"el-button\",\n {\n on: {\n click: function($event) {\n _vm.dialogVisible = false\n }\n }\n },\n [_vm._v(\"取 消\")]\n ),\n _c(\n \"el-button\",\n { attrs: { type: \"primary\" }, on: { click: _vm.submitKc } },\n [_vm._v(\"确 定\")]\n )\n ],\n 1\n )\n ]\n ),\n _c(\n \"el-dialog\",\n {\n attrs: {\n title: \"修改交期\",\n visible: _vm.dialogVisible2,\n width: \"800px\"\n },\n on: {\n \"update:visible\": function($event) {\n _vm.dialogVisible2 = $event\n }\n }\n },\n [\n _c(\n \"div\",\n { staticClass: \"kc-mask\" },\n [\n _c(\n \"el-table\",\n {\n staticStyle: { width: \"100%\" },\n attrs: { data: _vm.huoqidata, border: \"\" }\n },\n [\n _c(\"el-table-column\", {\n attrs: {\n prop: \"goods_name\",\n label: \"型号\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"brand_name\",\n label: \"品牌\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: {\n prop: \"stock\",\n label: \"库存数量\",\n \"min-width\": \"20%\"\n }\n }),\n _c(\"el-table-column\", {\n attrs: { label: \"修改大陆交期\", \"min-width\": \"20%\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\n \"div\",\n { staticClass: \"updatebox\" },\n [\n _c(\"el-input\", {\n attrs: { placeholder: \"如:2-5\" },\n model: {\n value: scope.row.dlhq,\n callback: function($$v) {\n _vm.$set(scope.row, \"dlhq\", $$v)\n },\n expression: \"scope.row.dlhq\"\n }\n }),\n _c(\n \"div\",\n { staticClass: \"selectdw\" },\n [\n _c(\n \"el-select\",\n {\n staticClass: \"placehoload\",\n attrs: { placeholder: \"天\" },\n model: {\n value: scope.row.dlhqdw,\n callback: function($$v) {\n _vm.$set(\n scope.row,\n \"dlhqdw\",\n $$v\n )\n },\n expression: \"scope.row.dlhqdw\"\n }\n },\n [\n _c(\"el-option\", {\n attrs: {\n label: \"天\",\n value: \"天\"\n }\n }),\n _c(\"el-option\", {\n attrs: {\n label: \"周\",\n value: \"周\"\n }\n })\n ],\n 1\n )\n ],\n 1\n )\n ],\n 1\n )\n ]\n }\n }\n ])\n }),\n _c(\"el-table-column\", {\n attrs: { label: \"修改香港交期\", \"min-width\": \"20%\" },\n scopedSlots: _vm._u([\n {\n key: \"default\",\n fn: function(scope) {\n return [\n _c(\n \"div\",\n { staticClass: \"updatebox\" },\n [\n _c(\"el-input\", {\n attrs: { placeholder: \"如:2-5\" },\n model: {\n value: scope.row.hkhq,\n callback: function($$v) {\n _vm.$set(scope.row, \"hkhq\", $$v)\n },\n expression: \"scope.row.hkhq\"\n }\n }),\n _c(\n \"div\",\n { staticClass: \"selectdw\" },\n [\n _c(\n \"el-select\",\n {\n staticClass: \"placehoload\",\n attrs: { placeholder: \"天\" },\n model: {\n value: scope.row.hkhqdw,\n callback: function($$v) {\n _vm.$set(\n scope.row,\n \"hkhqdw\",\n $$v\n )\n },\n expression: \"scope.row.hkhqdw\"\n }\n },\n [\n _c(\"el-option\", {\n attrs: {\n label: \"天\",\n value: \"天\"\n }\n }),\n _c(\"el-option\", {\n attrs: {\n label: \"周\",\n value: \"周\"\n }\n })\n ],\n 1\n )\n ],\n 1\n )\n ],\n 1\n )\n ]\n }\n }\n ])\n })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"span\",\n {\n staticClass: \"dialog-footer\",\n attrs: { slot: \"footer\" },\n slot: \"footer\"\n },\n [\n _c(\n \"el-button\",\n {\n on: {\n click: function($event) {\n _vm.dialogVisible2 = false\n }\n }\n },\n [_vm._v(\"取 消\")]\n ),\n _c(\n \"el-button\",\n { attrs: { type: \"primary\" }, on: { click: _vm.submitHq } },\n [_vm._v(\"确 定\")]\n )\n ],\n 1\n )\n ]\n )\n ],\n 1\n ),\n _c(\"Menu\")\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/Store/list.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%221c089814-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment