02eedc28 by renchao@pashanhoo.com

style:业务申请规则

1 parent a28d8b97
......@@ -46,11 +46,9 @@ class data extends filter {
label: '登记情形编码',
render: (h, scope) => {
return (
<div>
<el-input placeholder="登记情形编码" class={{ repeat: scope.row.repeat }} value={scope.row[scope.column.property]}
onInput={(val) => { scope.row[scope.column.property] = val }} onBlur={() => { vm.nodecodeBlur(scope.$index, scope.row) }} maxlength="8">
</el-input>
</div>
<el-input placeholder="登记情形编码" class={{ repeat: scope.row.repeat }} value={scope.row[scope.column.property]}
onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }} maxlength="8">
</el-input>
)
}
},
......@@ -59,9 +57,9 @@ class data extends filter {
label: '登记情形名称',
render: (h, scope) => {
return (
<div>
<el-input placeholder="登记情形名称" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}></el-input>
</div>
<el-input placeholder="登记情形名称" value={scope.row[scope.column.property]}
onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}>
</el-input>
)
}
},
......@@ -83,10 +81,7 @@ class data extends filter {
label: '登记原因模板',
render: (h, scope) => {
return (
<div>
<el-input placeholder="登记原因模板" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}></el-input>
</div>
<el-input placeholder="登记原因模板" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input>
)
}
},
......@@ -145,7 +140,7 @@ class data extends filter {
render: (h, scope) => {
return (
<el-input placeholder="材料编码" value={scope.row[scope.column.property]}
onInput={(val) => { scope.row[scope.column.property] = val }} maxlength="8"></el-input>
onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }} maxlength="8"></el-input>
)
}
},
......@@ -155,7 +150,7 @@ class data extends filter {
render: (h, scope) => {
return (
<el-input placeholder="材料名称" value={scope.row[scope.column.property]}
onInput={(val) => { scope.row[scope.column.property] = val }}></el-input>
onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input>
)
}
},
......
......@@ -84,11 +84,12 @@
</el-form>
<el-collapse class="modifycollapse" accordion>
<el-collapse-item title="登记情形设置" name="1">
<lb-table :column="djqxCol" border :pagination="false" heightNumSetting :data="form.djqx">
<lb-table :column="djqxCol" :pagination="false" heightNumSetting :minHeight="160" :data="form.djqx">
</lb-table>
</el-collapse-item>
<el-collapse-item title="材料信息设置" name="2">
<lb-table :column="clxxCol" border heightNumSetting :pagination="false" :data="form.clxx">
<lb-table :column="clxxCol" :heightNumSetting="true" :minHeight="160"
:pagination="false" :data="form.clxx">
</lb-table>
</el-collapse-item>
<el-collapse-item title="刷选权利设置" name="3" v-if="form.ywDetail.sfsxql == '1'">
......@@ -142,6 +143,7 @@
},
data () {
return {
key: 0,
tn: 0,
n: 0,
djlxList: [],
......@@ -150,6 +152,7 @@
title: "",
activeName: "1",
form: {
bsmSqyw: '',
ywDetail: {}
},
djqxCol: datas.djqxCol(),
......@@ -174,6 +177,9 @@
}
})
},
orderNoChange () {
this.$forceUpdate();
},
uploadRecord (file) {
this.requested = true
this.files = file;
......@@ -201,12 +207,17 @@
getDetail (bsmSqyw) {
getSqdjywDetail(bsmSqyw).then((res) => {
if (res.code === 200) {
this.form = res.result;
console.log(this.form, 'this.formthis.formthis.form');
// this.form.bsmSqyw = res.result.bsmSqyw
// this.form.ywDetail = res.result.ywDetail
this.$set(this.form, 'djqx', res.result.djqx)
// this.$set(this.form, 'sxql', res.result.sxql)
this.$set(this.form, 'clxx', res.result.clxx)
// this.$set(this.form, 'sxzt', res.result.sxzt)
// this.$set(this.form, 'ywDetail', res.result.ywDetail)
} else {
this.$alert(res.message);
this.$alert(res.message)
}
});
})
},
//提交保存数据
submit () {
......@@ -215,11 +226,11 @@
if (res.code == 200) {
that.$message({
message: "修改成功",
type: "success",
type: "success"
});
this.$popupCacel()
}
});
})
},
// 上移下移
moveUpward (index, row, type) {
......@@ -260,9 +271,9 @@
},
removeClxx (index, row) {
this.form.clxx.splice(index, 1);
},
},
};
}
}
}
</script>
<style lang='scss' scoped>
@import "~@/styles/mixin.scss";
......