Fixiaobai
2023-09-19 e5b9da3aee25769bc19a7982a7a8fc5886a56f15
src/components/view/sale.vue
@@ -132,6 +132,7 @@
         <span>状态:</span>
         <el-select v-model="search.type" size="small" placeholder="请选择" style="width: 224px;margin-right: 30px;">
            <el-option label="全部" :value="null"></el-option>
            <el-option label="未审核" :value="2"></el-option>
            <el-option label="通过" :value="1"></el-option>
            <el-option label="不通过" :value="0"></el-option>
         </el-select>
@@ -165,7 +166,7 @@
               <template slot-scope="scope">
                  <span style="color: #34BD66;" v-if="scope.row.type==1">通过</span>
                  <span style="color: #E84738;" v-else-if="scope.row.type==0">不通过</span>
                  <span v-else></span>
                  <span v-else>未审核</span>
               </template>
            </el-table-column>
            <el-table-column label="操作" width="220">
@@ -282,7 +283,8 @@
         </el-dialog>
      </div>
      <div class="select-model">
         <el-dialog :title="`销售${upDia==true?'修改':'新增'}`" :visible.sync="addDia" width="850px">
         <el-dialog :title="`销售${upDia==true?'修改':'新增'}`" :visible.sync="addDia" width="850px"
         @close="closeDialog">
            <div class="body">
               <div class="head">基本信息</div>
               <div class="content">
@@ -333,7 +335,7 @@
                     <el-col :span="3" :offset="2">交货日期</el-col>
                     <el-col :span="8">
                        <el-date-picker v-model="addData.delTime" size="small" placeholder="请输入交货日期" clearable
                           value-format="yyyy-MM-dd"></el-date-picker>
                           value-format="yyyy-MM-dd" style="width: 100%;"></el-date-picker>
                     </el-col>
                  </el-row>
               </div>
@@ -429,6 +431,20 @@
         this.selectRawInspectsList()
      },
      methods: {
         closeDialog(){
            this.addData = {
               orderNumber: null,
               code: null,
               name: null,
               proname: null,
               adress: null,
               username: null,
               delTime: null,
               orderName: null,
               phone: null,
               saleMaterialList: []
            }
         },
         handleSelectionChange(val) {
            this.selects = ''
            val.forEach((a, ai)=>{
@@ -470,7 +486,8 @@
               formTime: null,
               createTime: null,
               insState: 2,
               judgeState: 2
               judgeState: 2,
               type: null
            }
            this.selectRawInspectsList()
         },
@@ -546,6 +563,7 @@
                  type: 1
               }).then(res => {
                  this.selectRawInspectsList()
                  this.$parent.removeAllTab()
               })
            }).catch(e => {
               if (e == 'cancel') {