MrShi
2 天以前 108019e27e8958dbf474b8b9bea3fb5fbf7198d9
admin/src/components/business/OperaCityPriceRuleWindow.vue
@@ -179,13 +179,11 @@
          this.$tip.apiFailed(e)
        })
    },
    // 查询异地寄送规则列表
    // 查询预计时效
    fetchEstimatedDelivery () {
      estimatedDelivery(this.form.cityId)
        .then(data => {
          this.timeTableData = [
            data
          ]
          this.timeTableData = data
        })
        .catch(e => {
          this.$tip.apiFailed(e)
@@ -223,13 +221,13 @@
      Promise.all([
        batchSave({ cityId: this.form.cityId, items: this.jiudiTableData }),
        batchSaveRemoteDelivery({ cityId: this.form.cityId, items: this.remoteTableData }),
        batchSaveEstimatedDelivery({ cityId: this.form.cityId, ...this.timeTableData[0] }),
        batchSaveEstimatedDelivery({ cityId: this.form.cityId, items: this.timeTableData }),
        batchSaveStoreDeposit({ cityId: this.form.cityId, items: this.storeDepositData }),
        batchSaveRevenueShare({ cityId: this.form.cityId, items: this.shareTableData })
      ])
        .then(() => {
          this.visible = false
          this.$tip.apiSuccess('保存成功')
          // this.$tip.apiSuccess('保存成功')
          this.$emit('success')
        })
        .catch(e => {