information
This commit is contained in:
parent
ef518bafa0
commit
9e23ae3915
|
|
@ -5,6 +5,9 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<meta http-equiv="pragram" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title><%= webpackConfig.name %></title>
|
||||
<script type="text/javascript">
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@
|
|||
</el-table-column>
|
||||
<!-- <el-table-column label="最近入库量" prop="lasterInStock" /> -->
|
||||
<el-table-column label="库存数量" prop="stockNumber" />
|
||||
<el-table-column label="预警值" prop="conWarning" />
|
||||
<!-- <el-table-column label="单位耗材值" prop="surplusStock" /> -->
|
||||
<!-- <el-table-column label="排序" prop="sort" sortable /> -->
|
||||
<el-table-column label="更新时间" prop="updateTime">
|
||||
|
|
@ -105,6 +106,9 @@
|
|||
<el-form-item v-if="dialogtitle == '添加'">
|
||||
<el-button type="primary" @click="typedialogshow = true">去选择</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item label="预警值" prop="conWarning">
|
||||
<el-input v-model="ruleForm.conWarning" placeholder="请输入预警值"></el-input>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="单位耗材值" prop="surplusStock">
|
||||
<el-input v-model="ruleForm.surplusStock" placeholder="请输入单位耗材值"></el-input>
|
||||
</el-form-item> -->
|
||||
|
|
@ -250,6 +254,7 @@ export default {
|
|||
conTypeId: '',
|
||||
// surplusStock: '',
|
||||
conUnit: '',
|
||||
conWarning: '',
|
||||
shopId: localStorage.getItem('shopId'),
|
||||
},
|
||||
rules: {
|
||||
|
|
@ -264,7 +269,10 @@ export default {
|
|||
],
|
||||
conUnit: [
|
||||
{ required: true, message: '请输入单位', trigger: 'blur' }
|
||||
]
|
||||
],
|
||||
conWarning: [{
|
||||
required: true, message: '请输入单位', trigger: 'blur'
|
||||
}]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -407,6 +415,7 @@ export default {
|
|||
this.ruleForm.conCode = item.conCode
|
||||
this.ruleForm.conName = item.conName
|
||||
// this.ruleForm.surplusStock = item.surplusStock
|
||||
this.ruleForm.conWarning = item.conWarning
|
||||
this.ruleForm.conUnit = item.conUnit
|
||||
console.log(this.ruleForm, item)
|
||||
}
|
||||
|
|
@ -423,6 +432,7 @@ export default {
|
|||
conTypeId: this.ruleForm.conTypeId,
|
||||
// surplusStock: this.ruleForm.surplusStock,
|
||||
conUnit: this.ruleForm.conUnit,
|
||||
conWarning: item.conWarning,
|
||||
shopId: this.ruleForm.shopId
|
||||
})
|
||||
this.dialogshow = false
|
||||
|
|
@ -432,6 +442,7 @@ export default {
|
|||
conName: this.ruleForm.conName,
|
||||
conTypeId: this.ruleForm.conTypeId,
|
||||
// surplusStock: this.ruleForm.surplusStock,
|
||||
conWarning: item.conWarning,
|
||||
conUnit: this.ruleForm.conUnit,
|
||||
shopId: this.ruleForm.shopId
|
||||
})
|
||||
|
|
|
|||
|
|
@ -46,6 +46,10 @@ module.exports = {
|
|||
configureWebpack: {
|
||||
// provide the app's title in webpack's name field, so that
|
||||
// it can be accessed in index.html to inject the correct title.
|
||||
// 关闭 webpack 的性能提示
|
||||
performance: {
|
||||
hints: false
|
||||
},
|
||||
name: name,
|
||||
resolve: {
|
||||
alias: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue