|
|
|
|
@ -41,7 +41,7 @@
|
|
|
|
|
</u-form-item>
|
|
|
|
|
|
|
|
|
|
<u-form-item label="工地编号" label-position="top" prop="number">
|
|
|
|
|
<u-input placeholder="请填写工地编号" v-model="form.number" type="text" :border="true" />
|
|
|
|
|
<u-input disabled placeholder="工地编号" v-model="form.number" type="text" :border="true" />
|
|
|
|
|
</u-form-item>
|
|
|
|
|
<u-form-item label="工地类型" label-position="top" prop="type">
|
|
|
|
|
<u-input placeholder="请选择工地类型" v-model="buildtypeName" type="select" :border="true"
|
|
|
|
|
@ -358,8 +358,12 @@
|
|
|
|
|
confirmBuildType(val) {
|
|
|
|
|
var that = this
|
|
|
|
|
console.log(val)
|
|
|
|
|
if (!val[0].value) {
|
|
|
|
|
that.form.name = that.buildName
|
|
|
|
|
if (!val[0].value) {
|
|
|
|
|
this.$refs.uForm.resetFields();
|
|
|
|
|
that.buildtypeName=""
|
|
|
|
|
that.form.name = that.buildName
|
|
|
|
|
let timeNumber = new Date().getTime()
|
|
|
|
|
that.form.number = timeNumber
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
let buildinfo = val[0].extra;
|
|
|
|
|
|