|
|
|
@ -4,8 +4,8 @@ |
|
|
|
|
<a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail"> |
|
|
|
|
<a-row> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-model-item label="更新日期" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="updateTime"> |
|
|
|
|
<j-date placeholder="请选择更新日期" v-model="model.updateTime" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" disabled/> |
|
|
|
|
<a-form-model-item label="创建日期" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="updateTime"> |
|
|
|
|
<j-date placeholder="请选择创建日期" v-model="model.createTime" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" disabled/> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
@ -31,16 +31,24 @@ |
|
|
|
|
<j-dict-select-tag type="radio" v-model="model.exclusive" dictCode="yn" placeholder="请选择是否专属" /> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<!-- <a-col :span="24"> |
|
|
|
|
<a-form-model-item label="仓库存储规则" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="type"> |
|
|
|
|
<j-dict-select-tag type="list" v-model="model.type" dictCode="goods_category" placeholder="请选择仓库存储规则" /> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
</a-col>--> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-model-item label="地址" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="address"> |
|
|
|
|
<a-input v-model="model.address" placeholder="请输入地址" ></a-input> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
|
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-model-item label="电话" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="phoe"> |
|
|
|
|
<a-input v-model="model.phoe" placeholder="请输入电话" ></a-input> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-model-item label="管理员" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="username"> |
|
|
|
|
<j-popup |
|
|
|
@ -85,7 +93,7 @@ |
|
|
|
|
data () { |
|
|
|
|
return { |
|
|
|
|
model:{ |
|
|
|
|
exclusive : "1", |
|
|
|
|
exclusive : "0", |
|
|
|
|
state : "1" |
|
|
|
|
}, |
|
|
|
|
labelCol: { |
|
|
|
@ -98,6 +106,16 @@ |
|
|
|
|
}, |
|
|
|
|
confirmLoading: false, |
|
|
|
|
validatorRules: { |
|
|
|
|
name: [ |
|
|
|
|
{ required: true, message: '请输入名称!'}, |
|
|
|
|
], |
|
|
|
|
partmentnae: [ |
|
|
|
|
{ required: true, message: '请输入部门!'}, |
|
|
|
|
], |
|
|
|
|
phoe: [ |
|
|
|
|
{ required: false}, |
|
|
|
|
{ pattern: /^1[3456789]\d{9}$/, message: '请输入正确的手机号码!'}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
url: { |
|
|
|
|
add: "/starehouse/starehouse/add", |
|
|
|
|