yangfeng
2023-10-10 0115a5fc309c214bfb17d2825d380198751f10a9
收款单、销售发票新建弹窗样式调整
4个文件已修改
53 ■■■■■ 已修改文件
src/views/other/payment/receipt/addReceipt.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/other/payment/receipt/index.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/other/payment/saleInvoice/addSaleInvoice.vue 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/other/payment/saleInvoice/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/other/payment/receipt/addReceipt.vue
@@ -13,7 +13,7 @@
        :model="editConfig.infomation"
        :rules="rules"
        label-position="right"
        label-width="308px"
        label-width="168px"
        size="mini"
        style="height: 60vh; overflow-x: hidden"
      >
@@ -35,6 +35,7 @@
                      "
                      value-key="name"
                      @select="handleSelectClient('client', $event)"
                      style="width: 100%"
                    ></el-autocomplete>
                    <div class="common-select-btn" @click="selClientClick('client')">
                      <i class="el-icon-circle-plus-outline" title="选择"></i>
@@ -67,6 +68,7 @@
                      "
                      value-key="number"
                      @select="handleSelectClient('serviceContract', $event)"
                      style="width: 100%"
                    ></el-autocomplete>
                    <div class="common-select-btn" @click="selClientClick('serviceContract')">
                      <i class="el-icon-circle-plus-outline" title="选择"></i>
@@ -96,6 +98,7 @@
                      "
                      value-key="number"
                      @select="handleSelectClient('contract', $event)"
                      style="width: 100%"
                    ></el-autocomplete>
                    <div class="common-select-btn" @click="selClientClick('contract')">
                      <i class="el-icon-circle-plus-outline" title="选择"></i>
@@ -116,7 +119,7 @@
                    v-model="editConfig.infomation.principalId"
                    placeholder="请选择"
                    size="mini"
                    style="width: 63%"
                    style="width: 100%"
                  >
                    <el-option v-for="item in memberOptions" :key="item.id" :label="item.username" :value="item.id">
                    </el-option>
@@ -130,6 +133,7 @@
                    value-format="yyyy-MM-dd"
                    type="date"
                    placeholder="选择日期"
                    style="width: 100%"
                  >
                  </el-date-picker>
                </el-form-item>
@@ -154,7 +158,7 @@
                    v-model="editConfig.infomation.paymentTypeId"
                    placeholder="请选择"
                    size="mini"
                    style="width: 63%"
                    style="width: 100%"
                  >
                    <el-option
                      v-for="item in paymentTypeListOptions"
@@ -172,7 +176,7 @@
                    v-model="editConfig.infomation.bankAccountId"
                    placeholder="请选择"
                    size="mini"
                    style="width: 63%"
                    style="width: 100%"
                  >
                    <el-option v-for="item in bankAccountOptions" :key="item.id" :label="item.name" :value="item.id">
                    </el-option>
@@ -190,7 +194,7 @@
          <div class="basic-info-title">收款信息</div>
          <div class="basic-info-view">
            <el-row>
              <el-col :span="24">
              <el-col :span="12">
                <el-form-item label="本次收款金额" prop="amount">
                  <el-input-number
                    v-model="editConfig.infomation.amount"
@@ -198,7 +202,7 @@
                    :min="0"
                    :precision="2"
                    :controls="false"
                    style="width: 25%; margin-right: 5px"
                    style="width: 100%"
                  ></el-input-number>
                </el-form-item>
              </el-col>
@@ -350,7 +354,7 @@
  },
  data() {
    return {
      dialogWidth: "80%",
      dialogWidth: "50%",
      editConfig: this.editCommonConfig,
      rules: {
        client_name: [{ required: true, message: "请选择客户名称", trigger: "change" }],
src/views/other/payment/receipt/index.vue
@@ -154,7 +154,7 @@
        showcol: this.showCol,
        tableColumn:this.setColumnVisible(this.showCol)
      }
      this.tableList.allcol = this.tableList.tableColumn.filter(ele=>!ele.default).map(ele=>ele.label);
      this.tableList.allcol = this.tableList.tableColumn.filter((ele) => !ele.default).map((ele) => ele.label)
      this.searchOptions = []
      for (let i = 0; i < this.tableList.tableColumn.length; i++) {
        const label = this.tableList.tableColumn[i].label
@@ -163,7 +163,7 @@
      }
    },
    setColumnVisible(showCol){
      return  this.tableColumn.map(ele=>{
      return this.tableColumn.map((ele) => {
        return {
          ...ele,
          isShowColumn:showCol.includes(ele.label)
@@ -171,8 +171,8 @@
      })
    },
    selTableCol(val) {
      this.showcol = val;
      this.tableList.tableColumn = this.setColumnVisible(val);
      this.showcol = val
      this.tableList.tableColumn = this.setColumnVisible(val)
    },
    // 请求数据
    async getData() {
@@ -231,7 +231,7 @@
      this.editConfig.visible = true
      this.editConfig.title = "新建"
      this.editConfig.sourceType = this.sourceType
      this.editConfig.infomation = { ...this.addConfig }
      this.editConfig.infomation = { ...this.addConfig, number: "" }
    }
  }
}
src/views/other/payment/saleInvoice/addSaleInvoice.vue
@@ -13,7 +13,7 @@
        :model="editConfig.infomation"
        :rules="rules"
        label-position="right"
        label-width="308px"
        label-width="168px"
        size="mini"
        style="height: 60vh; overflow-x: hidden"
      >
@@ -25,12 +25,12 @@
            <el-row>
              <el-col :span="12">
                <el-form-item label="主题" prop="subject">
                  <el-input v-model="editConfig.infomation.subject"></el-input>
                  <el-input v-model="editConfig.infomation.subject" style="width: 100%"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="发票编号" prop="number">
                  <el-input v-model="editConfig.infomation.number"></el-input>
                  <el-input v-model="editConfig.infomation.number" style="width: 100%"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
@@ -45,6 +45,7 @@
                      "
                      value-key="name"
                      @select="handleSelectClient('client', $event)"
                      style="width: 100%"
                    ></el-autocomplete>
                    <div class="common-select-btn" @click="selClientClick('client')">
                      <i class="el-icon-circle-plus-outline" title="选择"></i>
@@ -67,6 +68,7 @@
                      placeholder="请选择"
                      class="common-select-sel"
                      size="mini"
                      style="width: 100%"
                    >
                      <el-option v-for="item in invoiceTypeOptions" :key="item.id" :label="item.name" :value="item.id">
                      </el-option>
@@ -83,6 +85,7 @@
                      placeholder="请选择"
                      class="common-select-sel"
                      size="mini"
                      style="width: 100%"
                    >
                      <el-option
                        v-for="item in invoiceStatusOptions"
@@ -102,7 +105,7 @@
                    v-model="editConfig.infomation.principalId"
                    placeholder="请选择"
                    size="mini"
                    style="width: 63%"
                    style="width: 100%"
                  >
                    <el-option v-for="item in memberOptions" :key="item.id" :label="item.username" :value="item.id">
                    </el-option>
@@ -121,6 +124,7 @@
                      "
                      value-key="number"
                      @select="handleSelectClient('serviceContract', $event)"
                      style="width: 100%"
                    ></el-autocomplete>
                    <div class="common-select-btn" @click="selClientClick('serviceContract')">
                      <i class="el-icon-circle-plus-outline" title="选择"></i>
@@ -150,6 +154,7 @@
                      "
                      value-key="number"
                      @select="handleSelectClient('contract', $event)"
                      style="width: 100%"
                    ></el-autocomplete>
                    <div class="common-select-btn" @click="selClientClick('contract')">
                      <i class="el-icon-circle-plus-outline" title="选择"></i>
@@ -166,7 +171,7 @@
              </el-col>
              <el-col :span="12">
                <el-form-item label="纳税识别号" prop="taxpayerIdNumber">
                  <el-input v-model="editConfig.infomation.taxpayerIdNumber"></el-input>
                  <el-input v-model="editConfig.infomation.taxpayerIdNumber" style="width: 100%"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
@@ -183,6 +188,7 @@
                      placeholder="请选择"
                      class="common-select-sel"
                      size="mini"
                      style="width: 100%"
                    >
                      <el-option
                        v-for="item in courierCompanyOptions"
@@ -198,7 +204,7 @@
              </el-col>
              <el-col :span="12">
                <el-form-item label="物流单号" prop="courierNumber">
                  <el-input v-model="editConfig.infomation.courierNumber"></el-input>
                  <el-input v-model="editConfig.infomation.courierNumber" style="width: 100%"></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
@@ -208,13 +214,14 @@
                    value-format="yyyy-MM-dd"
                    type="date"
                    placeholder="选择日期"
                    style="width: 100%"
                  >
                  </el-date-picker>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="发票号码" prop="invoiceNumber">
                  <el-input v-model="editConfig.infomation.invoiceNumber"></el-input>
                  <el-input v-model="editConfig.infomation.invoiceNumber" style="width: 100%"></el-input>
                </el-form-item>
              </el-col>
            </el-row>
@@ -384,7 +391,7 @@
  },
  data() {
    return {
      dialogWidth: "80%",
      dialogWidth: "50%",
      editConfig: this.editCommonConfig,
      rules: {
        subject: [{ required: true, message: "请输入主题", trigger: "blur" }],
src/views/other/payment/saleInvoice/index.vue
@@ -206,7 +206,7 @@
      this.editConfig.visible = true
      this.editConfig.title = "新建"
      this.editConfig.sourceType = this.sourceType
      this.editConfig.infomation = { ...this.addConfig }
      this.editConfig.infomation = { ...this.addConfig, number: "" }
    }
  }
}