浏览代码

前端gjy

gjy 3 年之前
父节点
当前提交
cccaf9f619
共有 1 个文件被更改,包括 8 次插入4 次删除
  1. 8 4
      src/views/financialManagement/collectionManagementList.vue

+ 8 - 4
src/views/financialManagement/collectionManagementList.vue

@@ -154,7 +154,9 @@
             </template>
           </el-table-column>
 
-          <el-table-column prop="agent" label="库管"></el-table-column>
+          <el-table-column prop="agent" label="库管">
+            <!-- <span>{{ agent }}</span> -->
+            </el-table-column>
           <el-table-column fixed="right" label="操作" width="100">
             <template slot-scope="scope">
               <el-button @click="add1(scope.row)" v-if="scope.$index == 0">新增</el-button>
@@ -346,7 +348,7 @@ export default {
       this.buyer = item.buyer
       this.tranCarNo = item.tranCarNo
       this.staffId = item.staffId
-
+      //this.freightspace[0].agent = this.agent
       var tranCarNos = ''
       this.dialogFormVisible2 = true
       this.dataList = item
@@ -535,7 +537,6 @@ export default {
     //   }
     // },
     add1(item) {
-      console.log(this.freightspace[0],this.freightspace[0].carNo.length)
           if (!this.freightspace[0].carNo) {
         this.$message({
            message: '车牌号不能为空',
@@ -584,7 +585,6 @@ export default {
         })
         return
       }
-      console.log(this.planId)
       var tmp = this.freightspace[0].agent
       var tmp1 = this.freightspace.length + 1
       var tmp2='C00'
@@ -615,6 +615,10 @@ export default {
         .toPromise()
         .then(response => {
           this.refresh()
+          this.$notify.success({
+                title: '成功',
+                message: '提交成功'
+              })
         })
     },
     editClick(row) {