Merge remote-tracking branch 'origin/dev-nx' into dev-nx
This commit is contained in:
commit
a072242325
|
|
@ -210,7 +210,10 @@
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="handleExamine(scope.row)"
|
@click="handleExamine(scope.row)"
|
||||||
v-hasPermi="['receive:examine:fgs']"
|
v-hasPermi="['receive:examine:fgs']"
|
||||||
v-if="Number(scope.row.examineStatusId) == 30"
|
v-if="
|
||||||
|
Number(scope.row.examineStatusId) == 30 &&
|
||||||
|
scope.row.deptId == currentDeptId
|
||||||
|
"
|
||||||
>审批</el-button
|
>审批</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
|
|
@ -526,6 +529,9 @@ export default {
|
||||||
leaseApplyDetails: [],
|
leaseApplyDetails: [],
|
||||||
// 领料任务详情数据
|
// 领料任务详情数据
|
||||||
leaseApplyData: {},
|
leaseApplyData: {},
|
||||||
|
|
||||||
|
// 当前用户所属部门Id
|
||||||
|
currentDeptId: parseInt(sessionStorage.getItem('deptId')),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
|
||||||
|
|
@ -385,7 +385,7 @@
|
||||||
width="80"
|
width="80"
|
||||||
type="index"
|
type="index"
|
||||||
>
|
>
|
||||||
<template scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{
|
<span>{{
|
||||||
(outQuery.pageNum - 1) * 10 + scope.$index + 1
|
(outQuery.pageNum - 1) * 10 + scope.$index + 1
|
||||||
}}</span>
|
}}</span>
|
||||||
|
|
@ -489,17 +489,12 @@
|
||||||
prop="alNum"
|
prop="alNum"
|
||||||
:show-overflow-tooltip="true"
|
:show-overflow-tooltip="true"
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column label="出库数量" align="center">
|
||||||
label="出库数量"
|
|
||||||
align="center"
|
|
||||||
prop="inputNum"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model.number="scope.row.inputNum"
|
v-model.number="scope.row.inputNum"
|
||||||
placeholder="请输入出库数量"
|
placeholder="请输入出库数量"
|
||||||
type="number"
|
type="number"
|
||||||
min="1"
|
|
||||||
@input="checkNum(scope.row)"
|
@input="checkNum(scope.row)"
|
||||||
clearable
|
clearable
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
|
|
@ -813,7 +808,6 @@ export default {
|
||||||
if (row.inputNum <= 1) {
|
if (row.inputNum <= 1) {
|
||||||
row.inputNum = 1
|
row.inputNum = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if (row.inputNum > row.outNum && row.num >= maxNum) {
|
if (row.inputNum > row.outNum && row.num >= maxNum) {
|
||||||
row.inputNum = maxNum
|
row.inputNum = maxNum
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ module.exports = {
|
||||||
// 部署生产环境和开发环境下的URL。
|
// 部署生产环境和开发环境下的URL。
|
||||||
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
|
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
|
||||||
// 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。
|
// 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。
|
||||||
publicPath: process.env.NODE_ENV === 'production' ? '/' : '/', ///gl/
|
publicPath: process.env.NODE_ENV === 'production' ? '/gl/' : '/', ///gl/
|
||||||
// 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
|
// 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
|
||||||
outputDir: 'dist',
|
outputDir: 'dist',
|
||||||
// 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
|
// 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
|
||||||
|
|
@ -34,6 +34,7 @@ module.exports = {
|
||||||
port: port,
|
port: port,
|
||||||
open: true,
|
open: true,
|
||||||
proxy: {
|
proxy: {
|
||||||
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||||
[process.env.VUE_APP_BASE_API]: {
|
[process.env.VUE_APP_BASE_API]: {
|
||||||
// target: `http://112.29.103.165:21626`, //线上环境-重庆
|
// target: `http://112.29.103.165:21626`, //线上环境-重庆
|
||||||
// target: `http://112.29.103.165:21624`,//线上环境-宁夏 打包前放开数据大屏的路由
|
// target: `http://112.29.103.165:21624`,//线上环境-宁夏 打包前放开数据大屏的路由
|
||||||
|
|
@ -42,11 +43,11 @@ module.exports = {
|
||||||
// target: `https://test-cc.zhgkxt.com`,//线上环境-南网
|
// target: `https://test-cc.zhgkxt.com`,//线上环境-南网
|
||||||
// target: `https://z.csgmall.com.cn`,
|
// target: `https://z.csgmall.com.cn`,
|
||||||
|
|
||||||
// target: `http://10.40.92.8:28080`, //超
|
// target: `http://10.40.92.8:8080`, //超
|
||||||
// target: `http://10.40.92.81:8080`, //韩/
|
// target: `http://10.40.92.81:8080`, //韩/
|
||||||
// target: `http://10.40.92.74:8080`,//旭/
|
// target: `http://10.40.92.74:8080`,//旭/
|
||||||
target: `http://10.40.92.136:28080`, //帅
|
target: `http://10.40.92.136:28080`, //帅
|
||||||
// target: `http://10.40.92.253:28080`, //福
|
// target: `http://10.40.92.5:28080`, //福
|
||||||
|
|
||||||
//******** 注意事项 ********* */
|
//******** 注意事项 ********* */
|
||||||
//1.全局替换qrUrl二维码扫码提供的网址-发布服务器的地址target;
|
//1.全局替换qrUrl二维码扫码提供的网址-发布服务器的地址target;
|
||||||
|
|
@ -146,11 +147,11 @@ module.exports = {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
config.optimization.runtimeChunk("single"),
|
config.optimization.runtimeChunk('single'),
|
||||||
{
|
{
|
||||||
from: path.resolve(__dirname, "./public/robots.txt"), //防爬虫文件
|
from: path.resolve(__dirname, './public/robots.txt'), //防爬虫文件
|
||||||
to: "./", //到根目录下
|
to: './', //到根目录下
|
||||||
};
|
}
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue