Commit 4eaf4684 authored by 周远喜's avatar 周远喜

部门修改

parent 8055e5a7
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</FormItem> </FormItem>
</Col> </Col>
<Col :span="12"> <Col :span="12">
<FormItem :label="l('departcode')"> <FormItem :label="l('departcode')" prop="departcode">
<Input v-model="entity.departcode" placeholder="请输入..."></Input> <Input v-model="entity.departcode" placeholder="请输入..."></Input>
</FormItem> </FormItem>
</Col> </Col>
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
<b>{{entity.name}}</b> <b>{{entity.name}}</b>
</FormItem> </FormItem>
</Col> </Col>
<Col :span="24"> <Col :span="24">
<FormItem :label="l('cityName')"> <FormItem :label="l('cityName')">
<Cascader :data="citys" v-model="location"></Cascader> <Cascader :data="citys" v-model="location"></Cascader>
...@@ -80,6 +79,9 @@ export default { ...@@ -80,6 +79,9 @@ export default {
rules: { rules: {
title02: [ title02: [
{ required: true, message: "库位名不能为空", trigger: "blur" } { required: true, message: "库位名不能为空", trigger: "blur" }
],
departcode: [
{ required: true, message: "编码不能为空", trigger: "blur" },
], ],
organizationType: [ organizationType: [
{ {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</FormItem> </FormItem>
</Col> </Col>
<Col :span="12"> <Col :span="12">
<FormItem :label="l('departcode')"> <FormItem :label="l('departcode')" prop="departcode">
<Input v-model="entity.departcode" placeholder="请输入..."></Input> <Input v-model="entity.departcode" placeholder="请输入..."></Input>
</FormItem> </FormItem>
</Col> </Col>
...@@ -73,7 +73,10 @@ export default { ...@@ -73,7 +73,10 @@ export default {
location: [], location: [],
rules: { rules: {
title02: [ title02: [
{ required: true, message: "库位名不能为空", trigger: "blur" } { required: true, message: "名称不能为空", trigger: "blur" },
],
departcode: [
{ required: true, message: "编码不能为空", trigger: "blur" },
], ],
organizationType: [ organizationType: [
{ {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</FormItem> </FormItem>
</Col> </Col>
<Col :span="12"> <Col :span="12">
<FormItem :label="l('departcode')"> <FormItem :label="l('departcode')" prop="departcode">
<Input v-model="entity.code" placeholder="请输入..."></Input> <Input v-model="entity.code" placeholder="请输入..."></Input>
</FormItem> </FormItem>
</Col> </Col>
...@@ -72,7 +72,8 @@ export default { ...@@ -72,7 +72,8 @@ export default {
id: -1 id: -1
}, },
rules: { rules: {
name: [{ required: true, message: "库位名不能为空", trigger: "blur" }], name: [{ required: true, message: "不能为空", trigger: "blur" }],
departcode: [{ required: true, message: "不能为空", trigger: "blur" }],
property: [ property: [
{ {
required: true, required: true,
......
...@@ -9,8 +9,8 @@ let address=systemApi.dev; ...@@ -9,8 +9,8 @@ let address=systemApi.dev;
//let address=systemApi.product; //let address=systemApi.product;
//let address=systemApi.local; //let address=systemApi.local;
// window.systemUrl = `http://${address}:10000/system`; //System-api 系统管理(基础数据) window.systemUrl = `http://${address}:10000/system`; //System-api 系统管理(基础数据)
window.systemUrl = `http://localhost:10020/api/services/app`; //System-api 系统管理(基础数据) // window.systemUrl = `http://localhost:10020/api/services/app`; //System-api 系统管理(基础数据)
window.authUrl = `http://${address}:10010`; //Authentication-api //统一登陆认证 window.authUrl = `http://${address}:10010`; //Authentication-api //统一登陆认证
window.UserUrl = `http://${address}:10130`; //Authentication-api //用户信息 密码修改。重置等 window.UserUrl = `http://${address}:10130`; //Authentication-api //用户信息 密码修改。重置等
window.designUrl = `http://${address}:10000/process`; // 工艺规程 window.designUrl = `http://${address}:10000/process`; // 工艺规程
......
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 to comment