Commit adb29a15 by huangchunlan

宽带订单

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