Commit adb29a15 by huangchunlan

宽带订单

parent eebb5516
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
<!-- 编辑 --> <!-- 编辑 -->
<a-col :span="12" v-show="iCardShow"> <a-col :span="12" v-show="iCardShow">
<p> <p>
身份证号:<Input 身份证号:<a-input
:value="orderInfo.idCard" :value="orderInfo.idCard"
:label="orderInfo.idCard" :label="orderInfo.idCard"
v-model="orderInfo.idCard" v-model="orderInfo.idCard"
...@@ -428,6 +428,9 @@ export default { ...@@ -428,6 +428,9 @@ export default {
userType: "", userType: "",
idCard: "", idCard: "",
}, },
editValue:{
idCard: "",
},
orderInfo: {}, orderInfo: {},
columns: [ columns: [
{ dataIndex: "orderId", width: 200, title: "智能平台" }, //dataIndex:列数据在数据项中对应的 key,支持 a.b.c 的嵌套写法 { dataIndex: "orderId", width: 200, title: "智能平台" }, //dataIndex:列数据在数据项中对应的 key,支持 a.b.c 的嵌套写法
...@@ -510,15 +513,11 @@ export default { ...@@ -510,15 +513,11 @@ export default {
}; };
}, },
methods: { methods: {
// 身份证号
idCardValue(e) { idCardValue(e) {
this.orderInfo.idCard = this.$refs.idCardValue.value; this.orderInfo.idCard = this.$refs.idCardValue.value;
console.log(this.$refs.idCardValue.value);
}, },
// 编辑下拉
statusData(value) { statusData(value) {
this.orderInfo.orderStatus = value; this.orderInfo.orderStatus = value;
//修改数据
}, },
editBtn(){ editBtn(){
editOrder({ editOrder({
...@@ -526,7 +525,6 @@ export default { ...@@ -526,7 +525,6 @@ export default {
idCard: this.orderInfo.idCard, idCard: this.orderInfo.idCard,
orderStatus: this.orderInfo.orderStatus, orderStatus: this.orderInfo.orderStatus,
}).then((res) => { }).then((res) => {
console.log(res);
if (res.state == "success") { if (res.state == "success") {
this.$message.success(res.data ? res.data : "修改成功!", 5); this.$message.success(res.data ? res.data : "修改成功!", 5);
this.search(); this.search();
...@@ -571,13 +569,13 @@ export default { ...@@ -571,13 +569,13 @@ export default {
id: "", id: "",
idCard: "", idCard: "",
}; };
this.visible = false; this.visible = false;
}, },
showDrawer(data) { showDrawer(data) {
this.iCardShow01 = true; this.iCardShow01 = true;
this.iCardShow = false; this.iCardShow = false;
this.statusShow = false; this.statusShow = false;
this.search();
this.orderInfo = { this.orderInfo = {
orderseq: data.orderseq, orderseq: data.orderseq,
productname: data.productname, productname: data.productname,
...@@ -612,7 +610,7 @@ export default { ...@@ -612,7 +610,7 @@ export default {
}, },
// 编辑 // 编辑
editDrawer(data) { editDrawer(data) {
console.log(data);
this.iCardShow = true; this.iCardShow = true;
this.iCardShow01 = false; this.iCardShow01 = false;
this.statusShow = true; this.statusShow = true;
......
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