From 07d3ca1aef2fa1ffca559593b93a2696e2a70d0e Mon Sep 17 00:00:00 2001
From: wang-hao-jie <1550036656@qq.com>
Date: 星期三, 24 十一月 2021 09:40:33 +0800
Subject: [PATCH] 默认更改列表

---
 src/views/your/area-manage/areaManage.vue |   53 +++++++++++++++++++++++++++++++++++------------------
 1 files changed, 35 insertions(+), 18 deletions(-)

diff --git a/src/views/your/area-manage/areaManage.vue b/src/views/your/area-manage/areaManage.vue
index d3dd999..8b49c36 100644
--- a/src/views/your/area-manage/areaManage.vue
+++ b/src/views/your/area-manage/areaManage.vue
@@ -89,7 +89,7 @@
 
 
       </Table>
-    </Modal>05
+    </Modal>
     <Modal :title="modalTitle3" v-model="customerVisible" :mask-closable="false" :width="1050">
       <Row class="operation" style="padding-bottom: 20px">
         <Button @click="addCustomer" type="primary" icon="md-add">娣诲姞</Button>
@@ -135,22 +135,36 @@
         <FormItem label="鍟嗘埛缂栧彿" prop="code">
           <Input v-model="customerForm.code" />
         </FormItem>
-        <FormItem label="鑱旂郴鏂瑰紡" prop="phone">
-          <Input v-model="customerForm.phone" />
-        </FormItem>
-        <FormItem label="缁忓害" prop="lng">
-          <Input v-model="customerForm.lng" />
-        </FormItem>
-        <FormItem label="绾害" prop="lat">
-          <Input v-model="customerForm.lat" />
-        </FormItem>
-        <Form-item label="涓婃閰嶉�佹棩鏈�" prop="lastTime">
-          <Row>
-            <Col>
-              <Date-picker @on-change="change1" type="date" value="yyyy-MM-dd" placeholder="閫夋嫨鏃ユ湡" v-model="customerForm.lastTime"></Date-picker>
-            </Col>
-          </Row>
-        </Form-item>
+
+        <Row :gutter="0">
+          <Col span="12">
+            <FormItem label="缁忓害" prop="lng">
+              <Input v-model="customerForm.lng" />
+            </FormItem>
+          </Col>
+          <Col span="12">
+            <FormItem label="绾害" prop="lat">
+              <Input v-model="customerForm.lat" />
+            </FormItem>
+          </Col>
+        </Row>
+        <Row :gutter="0">
+          <Col span="12">
+            <Form-item label="涓婃閰嶉�佹棩鏈�" prop="lastTime">
+              <Row>
+                <Col>
+                  <Date-picker @on-change="change1" type="date" value="yyyy-MM-dd" placeholder="閫夋嫨鏃ユ湡" v-model="customerForm.lastTime"></Date-picker>
+                </Col>
+              </Row>
+            </Form-item>
+          </Col>
+          <Col span="12">
+            <FormItem label="鑱旂郴鏂瑰紡" prop="phone">
+              <Input v-model="customerForm.phone" type="number"/>
+            </FormItem>
+          </Col>
+        </Row>
+
         <FormItem label="鍟嗘埛娉ㄥ唽鍦板潃" prop="registeredAddress">
           <Input v-model="customerForm.registeredAddress" />
         </FormItem>
@@ -273,6 +287,7 @@
   deleteAreaSection,
   addCustomer,
   deleteCustomer,
+
 } from "@/api/open";
 import util from "@/libs/util.js";
 export default {
@@ -313,7 +328,7 @@
       areaForm: {
       },
       customerForm: {
-
+        kstatus : 1
       },
       areaSectionForm: {
       },
@@ -779,6 +794,8 @@
       this.$refs.areaSectionForm.validate((valid) => {
         this.customerForm.lastTime = this.lastTime;
         this.customerForm.areaSectionId = this.areaSectionId;
+        this.customerForm.areaId = this.areaId;
+        this.customerForm.kstatus = 1;
         if (valid) {
           if (this.modalType == 0) {
             // 娣诲姞

--
Gitblit v1.9.1