shish 2 years ago
parent
commit
4247d71b71
1 changed files with 13 additions and 9 deletions
  1. 13 9
      ghs/src/views/order/confirm.vue

+ 13 - 9
ghs/src/views/order/confirm.vue

@@ -112,8 +112,8 @@
     <el-dialog title="确认提交" v-if="showCommitPop" :visible.sync="showCommitPop" width="655px" center :close-on-click-modal="false">
       <div>
         <div class="accounts-list">
-          客户
-          <div class="accounts-center">{{form.customName}}</div>
+          客户名称
+          <div class="accounts-center" style="font-weight:bold;color:black;">{{form.customName}}</div>
         </div>
 
         <div class="accounts-list" v-if="currentShop.pfLevel && currentShop.pfLevel == 1">
@@ -195,6 +195,10 @@
             <el-option v-for="item in staffList" :key="item.id" :label="item.name" :value="item"> </el-option>
           </el-select>
         </div>
+        <div class="accounts-list">
+          账单日期
+          <el-date-picker v-model="form.historyDate" style="width: 80%" type="date" placeholder="请选择,默认当天"> </el-date-picker>
+        </div>
         <div class="accounts-list">
           备注信息
           <div class="accounts-center">
@@ -246,6 +250,7 @@ export default {
         sendSide: "2",
         sendDate: "",
         sendTimeWant: "",
+        historyDate:'',
         sendCost: "",
         customId: "",
         customName:'',
@@ -492,13 +497,12 @@ export default {
         that.showCommitPop = true
     },
     comeBack(){
-      this.form.customId = 0
-      this.form.customName = ''
-      this.customInfoList = []
-      this.desk = 'searchCustom'
-      this.$nextTick(() => {
-        this.$refs.customref.focus()
-      })
+      let query = {}
+      if(this.form.book == 1){
+        this.$router.push({path:'/order/addBook', query})
+      }else{
+        this.$router.push({path:'/order/add', query})
+      }
     },
     selectCustomFn(e){
       if(e.id && e.name){