更改报废原因

lijinlong
李劲龙 2 months ago
parent 467dd1d708
commit 48f72ac585

@ -2669,6 +2669,12 @@
</myUpload>
</el-form-item>
</el-row>
<el-row style="margin: 10px 0;" v-if="ruleForm.bfyy">
<span class="top-title-box">报废原因</span>
</el-row>
<el-row style="margin: 20px 0;">
<div>{{ ruleForm.bfyy }}</div>
</el-row>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;">
<el-button type="danger" @click="newAssets(0)"></el-button>
<el-button type="primary" @click="newAssets(1)" >通过</el-button>

@ -2724,6 +2724,12 @@
</myUpload>
</el-form-item>
</el-row>
<el-row style="margin: 10px 0;" v-if="ruleForm.bfyy">
<span class="top-title-box">报废原因</span>
</el-row>
<el-row style="margin: 20px 0;">
<div>{{ ruleForm.bfyy }}</div>
</el-row>
</div>
</el-form>
</div>

@ -598,9 +598,16 @@
</el-form-item>
</el-col>
<el-col :span="8" style="margin-left: 10px;">
<el-form-item prop="fgfzrlxfs" :rules="{
<el-form-item prop="fgfzrlxfs" :rules="[
{
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '请输入正确的手机号码',
trigger: 'blur'
},
{
required: true, message: '请输入', trigger: 'blur'
}">
}
]">
<el-input v-model="ruleForm.fgfzrlxfs" style="width: 100%;" placeholder="请输入联系方式"></el-input>
</el-form-item>
</el-col>
@ -1364,9 +1371,16 @@
</el-row>
<el-row style="display: flex;">
<el-col :span="12">
<el-form-item class="daoqitixingren" required :prop="`xtjsUnit[${index}].lxr`" :rules="{
required: true, message: '请输入', trigger: 'blur'
}" :label="'联系人' + (index == 0 ? '' : index)">
<el-form-item class="daoqitixingren" required :prop="`xtjsUnit[${index}].lxr`" :rules="[
{
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '请输入正确的手机号码',
trigger: 'blur'
},
{
required: true, message: '请输入', trigger: 'blur'
}
]" :label="'联系人' + (index == 0 ? '' : index)">
<el-input v-model="domain.lxr" placeholder="请输入联系人"></el-input>
</el-form-item>
</el-col>
@ -1432,9 +1446,16 @@
</el-row>
<el-row style="display: flex;">
<el-col :span="12">
<el-form-item class="daoqitixingren" required :prop="`xtyyUnit[${index}].lxr`" :rules="{
required: true, message: '请输入', trigger: 'blur'
}" :label="'联系人' + (index == 0 ? '' : index)">
<el-form-item class="daoqitixingren" required :prop="`xtyyUnit[${index}].lxr`" :rules="[
{
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '请输入正确的手机号码',
trigger: 'blur'
},
{
required: true, message: '请输入', trigger: 'blur'
}
]" :label="'联系人' + (index == 0 ? '' : index)">
<el-input v-model="domain.lxr" placeholder="请输入联系人"></el-input>
</el-form-item>
</el-col>
@ -2605,6 +2626,12 @@
</myUpload>
</el-form-item>
</el-row>
<el-row style="margin: 10px 0;" v-if="ruleForm.bfyy">
<span class="top-title-box">报废原因</span>
</el-row>
<el-row style="margin: 20px 0;">
<div>{{ ruleForm.bfyy }}</div>
</el-row>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;">
<el-button type="danger" @click="newAssets(0)"></el-button>
<el-button @click="newAssets(1)"></el-button>
@ -3035,8 +3062,9 @@ export default {
},
//
newAssets(type) {
this.loading = true
if (type == 1) {
this.loading = true
//
this.$router.go(-1);
this.loading = false
@ -3092,6 +3120,8 @@ export default {
}
if (type == 2) {
this.loading = true
//
assetTaskzc(this.ruleForm).then(res => {
console.log(res, "res");
@ -3102,6 +3132,8 @@ export default {
})
}
if (type == 3) {
this.loading = true
//
this.$refs['ruleForm'].validate((valid) => {
if (valid) {

@ -10,11 +10,11 @@
<el-input v-model="formInline.taskName" placeholder="请输入"></el-input>
</el-form-item>
</el-col>
<el-col :span="7">
<!-- <el-col :span="7">
<el-form-item label="任务编号:">
<el-input v-model="formInline.id" placeholder="请输入"></el-input>
</el-form-item>
</el-col>
</el-col> -->
<el-col :span="7">
<el-form-item label="任务状态:">
<el-select v-model="formInline.taskStatus" placeholder="请选择">
@ -42,7 +42,7 @@
<el-table v-loading="loading" :data="tableData" :height="tabHeader" :max-height="tabHeader"
:row-class-name="tableRowClassName">
<el-table-column type="index" width="50" label="序号" align="center" />
<el-table-column label="任务编号" key="id" width="200px" prop="id" align="center" />
<!-- <el-table-column label="任务编号" key="id" width="200px" prop="id" align="center" /> -->
<el-table-column label="任务名称" key="taskName" prop="taskName" align="center" />
<el-table-column label="任务下发时间" key="taskTime" prop="taskTime" align="center">
<!-- <template slot-scope="scope">

Loading…
Cancel
Save