Commit 1371f82b authored by liboyang's avatar liboyang

膜耗材管理

parent 04db94e3
......@@ -93,12 +93,9 @@
<th>塑料膜表流水号</th>
<th>保存时间</th>
<th>数量</th>
<th>膜类型</th>
<th>操作</th>
<th>备注</th>
<th>提交人</th>
<!--<th>出库总数</th>-->
<!--<th>入库总数</th>-->
</tr>
</thead>
......@@ -111,14 +108,16 @@
<td ng-if="item.plasticFilmType==2">入库</td>
<td>{{item.note}}</td>
<td>{{item.name}}</td>
<!--<td>{{item.plasticFilmCount1}}</td>-->
<!--<td>{{item.plasticFilmCount2}}</td>-->
</tr>
<tr>
<tr class="bg-info">
<th>合计</th>
<td colspan="2" ng-if="plasticFilmType2==1" >{{plasticFilmdata.plasticFilmCount1}}</td>
<td colspan="2" ng-if="plasticFilmType2==2" >{{plasticFilmdata.plasticFilmCount2}}</td>
<th>出库数:</th>
<th ng-if="plasticFilmdata.plasticFilmCount1==null">0</th>
<th ng-if="plasticFilmdata.plasticFilmCount1!=null">{{plasticFilmdata.plasticFilmCount1}}</th>
<th colspan="2">入库数:</th>
<th ng-if="plasticFilmdata.plasticFilmCount2==null">0</th>
<th ng-if="plasticFilmdata.plasticFilmCount2!=null">{{plasticFilmdata.plasticFilmCount2}}</th>
</tr>
......
......@@ -39,12 +39,9 @@ angular.module("AvatarCheck.insertFilm",['ngRoute', 'AvatarCheck.http'])
}
console.log(totalCount, plasticFilmType, note, name)
HttpService.insertFilm(totalCount, plasticFilmType, note, name, function (data) {
if(data==false){
MessageService.showAlert("插入失败")
}else{
MessageService.showAlert("插入成功")
}
console.log(data)
$scope.totalCount="";
$scope.note="";
$scope.selectPlasticFilmManagement();
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment