wangyi
2026-01-19 7fb0a8f0ab16c149484bf043754cd10cfa94de2f
src/views/sell/xsSeOrderBill/xsSeOrderBillEdit.vue
@@ -455,22 +455,22 @@
        </el-table-column>
        <el-table-column align="center" label="单价" width="120">
          <template slot-scope="scope">
            <span>{{ scope.row.HTaxPrice }}</span>
            <span>{{ scope.row.HPrice }}</span>
          </template>
        </el-table-column>
        <el-table-column align="center" label="价税合计" width="120">
          <template slot-scope="scope">
            <span>{{ scope.row.HTaxRate }}</span>
            <span>{{ scope.row.HTaxMoney }}</span>
          </template>
        </el-table-column>
        <el-table-column align="center" label="客户规格型号" width="120">
          <template slot-scope="scope">
            <span>{{ scope.row.HPrice * scope.row.HQty }}</span>
            <span>{{ scope.row.HPrice * scope.row.规格型号 }}</span>
          </template>
        </el-table-column>
        <el-table-column align="center" label="交货日期" width="120">
          <template slot-scope="scope">
            <span>{{ scope.row.HTaxPrice * scope.row.HQty }}</span>
            <span>{{ scope.row.HTaxPrice * scope.row.HDate }}</span>
          </template>
        </el-table-column>
        <el-table-column align="center" label="备注" width="120">
@@ -630,7 +630,7 @@
  methods: {
    fetchData() {
      axios
        .get(this.baseURL + "/Web/GetOrganizations", {})
        .get(this.$baseUrl + "/Web/GetOrganizations", {})
        .then((response) => {
          if (response.data.count == 1) {
            this.organizationList = response.data.data.map((item) => {
@@ -661,7 +661,7 @@
        for (var i = 0; i < data.length; i++) {
          // this.getPushSourceBillInit(data[i].hmainid, data[i].hsubid);
          axios
            .get(this.baseURL + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
            .get(this.$baseUrl + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
              params: {
                HInterID: data[i].hmainid,
              },
@@ -784,7 +784,7 @@
    //根据主内码与子内码获取源单销售订单数据
    getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
      axios
        .get(this.baseURL + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
        .get(this.$baseUrl + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
          params: {
            HInterID: HSourceInterID,
            HSubID: HSourceEntryID,
@@ -949,7 +949,7 @@
    //根据用户获取对应职员、部门、销售主管
    getCzyglByUser() {
      axios
        .get(this.baseURL + "/Xs_SeOrderBill/getCzyglByUser", {
        .get(this.$baseUrl + "/Xs_SeOrderBill/getCzyglByUser", {
          params: { CurUserName: sessionStorage["HUserName"] },
        })
        .then((response) => {
@@ -982,7 +982,7 @@
    },
    getHBillNo() {
      axios
        .get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
        .get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
          params: {
            HBillType: "1401",
          },
@@ -1001,7 +1001,7 @@
    //获取销售出库单对应的条码明细
    getBarCodeNoteBySellOutBill(rowHmainid) {
      axios
        .get(this.baseURL + "/Kf_SellOutBill/BarCodeNote", {
        .get(this.$baseUrl + "/Kf_SellOutBill/BarCodeNote", {
          params: { HInterID: rowHmainid },
        })
        .then((response) => {
@@ -1020,7 +1020,7 @@
    //#region 根据客户获取客户余额
    getCustomerBalance(HCusID) {
      axios
        .get(this.baseURL + "/Xs_CusRatingChangeBill/getCustomerBalance", {
        .get(this.$baseUrl + "/Xs_CusRatingChangeBill/getCustomerBalance", {
          params: { HCusID: HCusID, CurUserName: sessionStorage["HUserName"] },
        })
        .then((response) => {
@@ -1038,7 +1038,7 @@
      this.reset();
      let rowHmainid = this.HInterID2;
      axios
        .get(this.baseURL + "/Xs_SeOrderBill/loadXs_SeOrderBill_Edit", {
        .get(this.$baseUrl + "/Xs_SeOrderBill/loadXs_SeOrderBill_Edit", {
          params: { HInterID: rowHmainid },
        })
        .then((response) => {
@@ -1185,17 +1185,18 @@
    //根据客户带出联系人、联系电话
    getCustomerByCusID(HCusID) {
      axios
        .get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
        .get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
          params: {
            HCusID: HCusID,
          },
        })
        .then((response) => {
          if (response.data.count == 1) {
            this.form.联系人 = response.data.data[0].HLinkMan;
            this.form.联系电话 = response.data.data[0].HLinkPhone;
          if (response.data.count == 0) {
            this.$modal.msgWarning(response.data.Message);
            return
          }
          this.$modal.msg(`警告: ${response.data.Message}`);
          this.form.联系人 = response.data.data[0].HLinkMan;
          this.form.联系电话 = response.data.data[0].HLinkPhone;
          // this.form = response.data.data[0]
        })
        .catch((error) => {
@@ -1341,7 +1342,7 @@
      var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1205','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
      axios({
        method: "get",
        url: this.baseURL + "/CommonModel/searchMethod",
        url: this.$baseUrl + "/CommonModel/searchMethod",
        params: { sql: sql, user: sessionStorage["HUserName"], ModRightNameCheck: "" },
      })
        .then((response) => {
@@ -1380,7 +1381,7 @@
                this.OperationType;
              axios({
                method: "post",
                url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
                url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
                data: {
                  msg: sMainSub,
                },
@@ -1410,7 +1411,7 @@
      var InterID = form.hmainid || form.HInterID;
      //逻辑审核方法
      axios
        .get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
        .get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
          params: {
            HInterID: InterID,
            IsAudit: num,