作者 小范

更新库存管理界面列表参数

@@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
13 <el-button type="primary" icon="el-icon-search" size="small" @click="getList()"> 13 <el-button type="primary" icon="el-icon-search" size="small" @click="getList()">
14 查询 14 查询
15 </el-button> 15 </el-button>
16 - <el-button type="success" icon="el-icon-edit" size="small" @click="applyAdd()">新增</el-button> 16 +<!-- <el-button type="success" icon="el-icon-edit" size="small" @click="applyAdd()">新增</el-button>-->
17 </el-col> 17 </el-col>
18 </el-row> 18 </el-row>
19 <!-- 列表区域--> 19 <!-- 列表区域-->
@@ -28,120 +28,59 @@ @@ -28,120 +28,59 @@
28 > 28 >
29 <el-table-column 29 <el-table-column
30 fixed 30 fixed
31 - prop="goodno"  
32 - label="货物单号"  
33 - width="120"> 31 + label="操作"
  32 + width="160">
  33 + <template slot-scope="scope">
  34 + <el-button type="primary" size="mini">查看货物明细</el-button>
  35 + </template>
34 </el-table-column> 36 </el-table-column>
35 <el-table-column 37 <el-table-column
36 - prop="vol"  
37 - label="体积"  
38 - width="60"> 38 + fixed
  39 + prop="waybill"
  40 + label="主单号"
  41 + width="120">
39 </el-table-column> 42 </el-table-column>
40 <el-table-column 43 <el-table-column
41 - prop="weight"  
42 - label="重量"  
43 - width="60"> 44 + prop="billfhl"
  45 + label="分单号"
  46 + width="120">
44 </el-table-column> 47 </el-table-column>
45 <el-table-column 48 <el-table-column
46 prop="pcs" 49 prop="pcs"
47 label="件数" 50 label="件数"
48 - width="60">  
49 - </el-table-column>  
50 - <el-table-column  
51 - prop="billweight"  
52 - label="计费重量"  
53 - width="70"> 51 + width="80">
54 </el-table-column> 52 </el-table-column>
55 <el-table-column 53 <el-table-column
56 - prop="area"  
57 - label="库区"  
58 - width="60"> 54 + prop="weight"
  55 + label="重量"
  56 + width="80">
59 </el-table-column> 57 </el-table-column>
60 <el-table-column 58 <el-table-column
61 prop="location" 59 prop="location"
62 label="库位" 60 label="库位"
63 - width="60">  
64 - </el-table-column>  
65 - <el-table-column  
66 - prop="serialnumber"  
67 - label="流水号"  
68 width="120"> 61 width="120">
69 </el-table-column> 62 </el-table-column>
70 <el-table-column 63 <el-table-column
71 - prop="station"  
72 - label="出入库场站"  
73 - width="100">  
74 - </el-table-column>  
75 - <el-table-column  
76 - prop="status"  
77 - label="状态"  
78 - width="80">  
79 - <template slot-scope="scope">  
80 - <span v-if="scope.row.status ==='0'">失败</span>  
81 - <span v-if="scope.row.status ==='1'">成功</span>  
82 - </template>  
83 - </el-table-column>  
84 - <el-table-column  
85 - prop="transcar"  
86 - label="运输车辆信息"  
87 - width="100">  
88 - </el-table-column>  
89 - <el-table-column  
90 - prop="transtype"  
91 - label="交易类型"  
92 - width="100">  
93 - </el-table-column>  
94 - <el-table-column  
95 - prop="custel"  
96 - label="客户联系电话"  
97 - width="140">  
98 - </el-table-column>  
99 - <el-table-column  
100 - prop="customer"  
101 - label="联系人姓名"  
102 - width="80">  
103 - </el-table-column>  
104 - <el-table-column  
105 - prop="customername"  
106 - label="客户名称"  
107 - width="80">  
108 - </el-table-column>  
109 - <el-table-column  
110 - prop="goodstype"  
111 - label="货物类型"  
112 - width="80">  
113 - </el-table-column>  
114 - <el-table-column  
115 - prop="house"  
116 - label="出入库仓库"  
117 - width="100">  
118 - </el-table-column>  
119 - <el-table-column  
120 - prop="ietype"  
121 - label="出入库类型"  
122 - width="60">  
123 - <template slot-scope="scope">  
124 - <span v-if="scope.row.ietype ==='I'">进</span>  
125 - <span v-if="scope.row.ietype ==='E'">出</span>  
126 - </template>  
127 - </el-table-column>  
128 - <el-table-column  
129 - prop="opter"  
130 - label="出入库经办人"  
131 - width="100">  
132 - </el-table-column>  
133 - <el-table-column  
134 - prop="opttime"  
135 - label="出入库时间"  
136 - width="140"> 64 + prop="createdate"
  65 + label="创建时间">
137 </el-table-column> 66 </el-table-column>
  67 +<!-- <el-table-column-->
  68 +<!-- prop="status"-->
  69 +<!-- label="状态"-->
  70 +<!-- width="80">-->
  71 +<!-- <template slot-scope="scope">-->
  72 +<!-- <span v-if="scope.row.status ==='0'">失败</span>-->
  73 +<!-- <span v-if="scope.row.status ==='1'">成功</span>-->
  74 +<!-- </template>-->
  75 +<!-- </el-table-column>-->
138 <el-table-column 76 <el-table-column
139 fixed="right" 77 fixed="right"
140 label="操作" 78 label="操作"
141 width="200"> 79 width="200">
142 <template slot-scope="scope"> 80 <template slot-scope="scope">
143 - <el-button type="success" size="mini" @click="applyEdit(scope.row)">编辑</el-button>  
144 - <el-button type="danger" size="mini" @click="applyDel(scope.$index,scope.row)">删除</el-button> 81 + <el-button type="success" size="mini">更改主单</el-button>
  82 +<!-- <el-button type="success" size="mini" @click="applyEdit(scope.row)">编辑</el-button>-->
  83 +<!-- <el-button type="danger" size="mini" @click="applyDel(scope.$index,scope.row)">删除</el-button>-->
145 </template> 84 </template>
146 </el-table-column> 85 </el-table-column>
147 </el-table> 86 </el-table>