Commit 62fe796e by huangchunlan

宽带订单

parent 25b545ac
......@@ -429,10 +429,6 @@ export default {
idCard: "",
},
orderInfo: {},
editInfo:{
idCard,
orderStatus,
},
columns: [
{ dataIndex: "orderId", width: 200, title: "智能平台" }, //dataIndex:列数据在数据项中对应的 key,支持 a.b.c 的嵌套写法
{ dataIndex: "customerName", width: 100, title: "客户名称" },
......@@ -516,10 +512,12 @@ export default {
methods: {
// 身份证号
idCardValue(e) {
this.editInfo.idCard = this.$refs.idCardValue.value;
this.orderInfo.idCard = this.$refs.idCardValue.value;
console.log(this.$refs.idCardValue.value);
},
// 编辑下拉
statusData(value) {
this.editInfo.orderStatus = value;
this.orderInfo.orderStatus = value;
//修改数据
},
editBtn(){
......@@ -528,6 +526,7 @@ 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();
......
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