chenlei 6 달 전
부모
커밋
1c894cd8d2
3개의 변경된 파일6개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      pc/wcarrier/comp/invoice.vue
  2. 4 3
      pc/wcarrier/comp/review.vue
  3. 1 0
      pc/wcarrier/join.vue

+ 1 - 1
pc/wcarrier/comp/invoice.vue

@@ -79,7 +79,7 @@ export default {
       return this.value.fpStatus === 2
     },
     isReadOnly() {
-      return !this.disabledFinal && (!this.isEdit)
+      return this.$props.readOnly || !this.isEdit
     },
     emptyArgs() {
       return { open: this.isReadOnly, text: '[ 暂无内容 ]' }

+ 4 - 3
pc/wcarrier/comp/review.vue

@@ -16,8 +16,8 @@
       <div class="ml-spac">
         <div class="pt-spac pl-spac">
           <span class="label-color">物流充值交易模式:</span>
-          <el-radio v-model="formData.tradeType" :label="1" class="ml-spac">大象直销</el-radio>
-          <el-radio v-model="formData.tradeType" :label="2">大象经销</el-radio>
+          <el-radio v-model="formData.tradeType" :label="2" class="ml-spac">大象直销</el-radio>
+          <el-radio v-model="formData.tradeType" :label="1">大象经销</el-radio>
         </div>
         <div class="pt-spac pl-spacm3">
           <span class="label-color">物流充值工具:</span>
@@ -51,7 +51,7 @@ export default {
         /** 审核驳回理由 */
         reason: '',
         /** 交易模式:1 经销,2 直销 */
-        tradeType: 1
+        tradeType: 2
       }
     }
   },
@@ -69,6 +69,7 @@ export default {
   methods: {
     submit() {
       this.$http(this.$interfaces.user.road_transport_audit, { orgId: this.$props.orgId, ...this.formData }).then(res => {
+        this.$message.success('操作成功')
         this.$emit('feedback', this.formData.audit)
       })
     },

+ 1 - 0
pc/wcarrier/join.vue

@@ -344,6 +344,7 @@ export default {
   methods: {
     submitStatus() {
       this.$http(this.$interfaces.user.edit_status, { orgId: this.safeOrgId, status: this.status }).then(() => {
+        this.$message.success('操作成功')
         this.$emit('statusFeedback', 1)
       })
     },