|
|
@@ -1,117 +1,117 @@
|
|
|
<style>
|
|
|
-.new {
|
|
|
- padding: 0px 40px 20px 20px;
|
|
|
- margin-top: 20px;
|
|
|
-}
|
|
|
+ .new {
|
|
|
+ padding: 0px 40px 20px 20px;
|
|
|
+ margin-top: 20px;
|
|
|
+ }
|
|
|
|
|
|
-.new label {
|
|
|
- font-size: 14px;
|
|
|
- font-weight: normal;
|
|
|
- font-family: "Microsoft YaHei" ! important;
|
|
|
-}
|
|
|
+ .new label {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: normal;
|
|
|
+ font-family: "Microsoft YaHei" ! important;
|
|
|
+ }
|
|
|
|
|
|
-.headerline {
|
|
|
- font-size: 16px;
|
|
|
- font-family: Microsoft YaHei,SimHei,Verdana;
|
|
|
- font-weight: 500;
|
|
|
- line-height: 22px;
|
|
|
- margin: 25px 0;
|
|
|
- clear: both;
|
|
|
- zoom: 1;
|
|
|
- border-top: 1px solid #eee;
|
|
|
- position: relative;
|
|
|
-}
|
|
|
+ .headerline {
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: Microsoft YaHei,SimHei,Verdana;
|
|
|
+ font-weight: 500;
|
|
|
+ line-height: 22px;
|
|
|
+ margin: 25px 0;
|
|
|
+ clear: both;
|
|
|
+ zoom: 1;
|
|
|
+ border-top: 1px solid #eee;
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
|
|
|
-.headerline .content {
|
|
|
- position: absolute;
|
|
|
- top: -12px;
|
|
|
- left: 20px;
|
|
|
- line-height: 24px;
|
|
|
- padding: 0 15px 0 10px;
|
|
|
- background: #fff;
|
|
|
- z-index: 2;
|
|
|
-}
|
|
|
+ .headerline .content {
|
|
|
+ position: absolute;
|
|
|
+ top: -12px;
|
|
|
+ left: 20px;
|
|
|
+ line-height: 24px;
|
|
|
+ padding: 0 15px 0 10px;
|
|
|
+ background: #fff;
|
|
|
+ z-index: 2;
|
|
|
+ }
|
|
|
|
|
|
-.headerline .end {
|
|
|
- position: absolute;
|
|
|
- top: -12px;
|
|
|
- right: 20px;
|
|
|
- line-height: 24px;
|
|
|
- padding-left: 15px;
|
|
|
- background: #fff;
|
|
|
- z-index: 2;
|
|
|
-}
|
|
|
+ .headerline .end {
|
|
|
+ position: absolute;
|
|
|
+ top: -12px;
|
|
|
+ right: 20px;
|
|
|
+ line-height: 24px;
|
|
|
+ padding-left: 15px;
|
|
|
+ background: #fff;
|
|
|
+ z-index: 2;
|
|
|
+ }
|
|
|
|
|
|
-.input-group-addon {
|
|
|
- background-color: inherit;
|
|
|
- border: 1px solid #e1e1e1;
|
|
|
- color: #888 !important;
|
|
|
-}
|
|
|
+ .input-group-addon {
|
|
|
+ background-color: inherit;
|
|
|
+ border: 1px solid #e1e1e1;
|
|
|
+ color: #888 !important;
|
|
|
+ }
|
|
|
|
|
|
-.status {
|
|
|
- position: absolute;
|
|
|
- top: -10px;
|
|
|
- right: 5px;
|
|
|
- background-color: #fff;
|
|
|
- border: 1px solid;
|
|
|
- padding: 3px 14px;
|
|
|
- font-size: 16px;
|
|
|
- font-family: "LiShu";
|
|
|
- border-radius: 10px;
|
|
|
- -moz-transform: rotate(-10deg);
|
|
|
- -webkit-transform: rotate(-10deg);
|
|
|
- -o-transform: rotate(-10deg);
|
|
|
- transform: rotate(-10deg);
|
|
|
- border-radius: 10px;
|
|
|
- opacity: 0.7;
|
|
|
- white-space: nowrap;
|
|
|
-}
|
|
|
-.num-ctrl{
|
|
|
- width: 60px;
|
|
|
- padding: 0 !important;
|
|
|
- line-height: 34px;
|
|
|
-}
|
|
|
-.title-div {
|
|
|
- font-size: 14px;
|
|
|
- font-weight: 600;
|
|
|
- padding-left: 20px;
|
|
|
- height: 50px;
|
|
|
- padding-top: 11px;
|
|
|
-}
|
|
|
-.form-horizontal .control-label{
|
|
|
- text-align: left;
|
|
|
- padding-left: 25px;
|
|
|
-}
|
|
|
-.form-horizontal .form-control{
|
|
|
- border: #bfbfbf 1px solid !important;
|
|
|
- height: 34px;
|
|
|
- background: #fff;
|
|
|
- font-size: 14px;
|
|
|
-}
|
|
|
-.form-horizontal .input-group-btn button{
|
|
|
- height: 34px;
|
|
|
- border: #bfbfbf 1px solid !important;
|
|
|
- background: #bfbfbf;
|
|
|
- font-size: 14px;
|
|
|
- color: #fff;
|
|
|
-}
|
|
|
-.customer-input{
|
|
|
- border: #bfbfbf 1px solid !important;
|
|
|
- height: 34px;
|
|
|
- background: #fff;
|
|
|
- font-size: 14px;
|
|
|
- border-radius: 5px;
|
|
|
- width: 100%;
|
|
|
- display: inline-block;
|
|
|
- color: #323232;
|
|
|
- line-height: 34px;
|
|
|
- padding-left: 10px;
|
|
|
-}
|
|
|
-.dot .text-inverse{
|
|
|
- position: absolute;
|
|
|
- right: 5px;
|
|
|
- top: 12px;
|
|
|
-}
|
|
|
+ .status {
|
|
|
+ position: absolute;
|
|
|
+ top: -10px;
|
|
|
+ right: 5px;
|
|
|
+ background-color: #fff;
|
|
|
+ border: 1px solid;
|
|
|
+ padding: 3px 14px;
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: "LiShu";
|
|
|
+ border-radius: 10px;
|
|
|
+ -moz-transform: rotate(-10deg);
|
|
|
+ -webkit-transform: rotate(-10deg);
|
|
|
+ -o-transform: rotate(-10deg);
|
|
|
+ transform: rotate(-10deg);
|
|
|
+ border-radius: 10px;
|
|
|
+ opacity: 0.7;
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+ .num-ctrl{
|
|
|
+ width: 60px;
|
|
|
+ padding: 0 !important;
|
|
|
+ line-height: 34px;
|
|
|
+ }
|
|
|
+ .title-div {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 600;
|
|
|
+ padding-left: 20px;
|
|
|
+ height: 50px;
|
|
|
+ padding-top: 11px;
|
|
|
+ }
|
|
|
+ .form-horizontal .control-label{
|
|
|
+ text-align: left;
|
|
|
+ padding-left: 25px;
|
|
|
+ }
|
|
|
+ .form-horizontal .form-control{
|
|
|
+ border: #bfbfbf 1px solid !important;
|
|
|
+ height: 34px;
|
|
|
+ background: #fff;
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+ .form-horizontal .input-group-btn button{
|
|
|
+ height: 34px;
|
|
|
+ border: #bfbfbf 1px solid !important;
|
|
|
+ background: #bfbfbf;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ .customer-input{
|
|
|
+ border: #bfbfbf 1px solid !important;
|
|
|
+ height: 34px;
|
|
|
+ background: #fff;
|
|
|
+ font-size: 14px;
|
|
|
+ border-radius: 5px;
|
|
|
+ width: 100%;
|
|
|
+ display: inline-block;
|
|
|
+ color: #323232;
|
|
|
+ line-height: 34px;
|
|
|
+ padding-left: 10px;
|
|
|
+ }
|
|
|
+ .dot .text-inverse{
|
|
|
+ position: absolute;
|
|
|
+ right: 5px;
|
|
|
+ top: 12px;
|
|
|
+ }
|
|
|
</style>
|
|
|
<div class="loading" ng-class="{'in': loading}">
|
|
|
<i></i>
|
|
|
@@ -145,8 +145,8 @@
|
|
|
<label for="code" class="col-sm-2 control-label">单据编号:</label>
|
|
|
<div class="col-sm-4">
|
|
|
<div class="">
|
|
|
- <input ng-model="item.quotation.code" readonly="readonly" type="text" class="form-control" id="code"
|
|
|
- >
|
|
|
+ <input ng-model="item.quotation.code" readonly="readonly" type="text" class="form-control" id="code"
|
|
|
+ >
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -154,8 +154,8 @@
|
|
|
<label for="customer" class="col-sm-2 control-label">客户:</label>
|
|
|
<div class="col-sm-4">
|
|
|
<div class="">
|
|
|
- <input ng-model="item.quotation.cust.enName" readonly="readonly" type="text" class="form-control" id="customer"
|
|
|
- placeholder="点击选择客户" style="cursor: pointer;" ng-click="dbfindCust()" ng-required="true" ng-disabled="isDisabled()">
|
|
|
+ <input ng-model="item.quotation.cust.enName" readonly="readonly" type="text" class="form-control" id="customer"
|
|
|
+ placeholder="点击选择客户" style="cursor: pointer;" ng-click="dbfindCust()" ng-required="true" ng-disabled="isDisabled()">
|
|
|
<span class="form-control-feedback text-simple" ng-if="item.$editing"><i class="fa fa-search"></i></span>
|
|
|
<span class="text-inverse text-bold">* </span>
|
|
|
</div>
|
|
|
@@ -176,9 +176,9 @@
|
|
|
<label for="product" class="col-sm-2 control-label">产品编号:</label>
|
|
|
<div class="col-sm-4">
|
|
|
<div class="">
|
|
|
- <input ng-model="item.product.code" type="text" class="form-control input-dbfind" id="product"
|
|
|
- placeholder="点击选择产品" readonly="readonly" style="cursor: pointer;"
|
|
|
- ng-click="dbfindCustProd()" ng-required="true" ng-disabled="isDisabled()">
|
|
|
+ <input ng-model="item.product.code" type="text" class="form-control input-dbfind" id="product"
|
|
|
+ placeholder="点击选择产品" readonly="readonly" style="cursor: pointer;"
|
|
|
+ ng-click="dbfindCustProd()" ng-required="true" ng-disabled="isDisabled()">
|
|
|
<span class="form-control-feedback text-simple" ng-if="item.$editing"><i class="fa fa-search"></i></span>
|
|
|
<span class="text-inverse text-bold">* </span>
|
|
|
</div>
|
|
|
@@ -212,7 +212,7 @@
|
|
|
<div class="col-sm-4">
|
|
|
<input ng-model="item.product.unit" type="text" class="form-control input-dbfind" id="product"
|
|
|
placeholder="" readonly="readonly" style="cursor: pointer;"
|
|
|
- ng-required="true">
|
|
|
+ ng-required="true">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group form-group-sm">
|
|
|
@@ -233,7 +233,7 @@
|
|
|
<label for="leadtime" class="col-sm-2 control-label">交货周期(天):</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input ng-model="item.leadtime" type="number" class="form-control" id="leadtime" ng-pattern="/^[0-9]*[1-9][0-9]*$/"
|
|
|
- placeholder="只可以为正整数" ng-readonly="!item.$editing" ng-required="true" ng-disabled="isDisabled()">
|
|
|
+ placeholder="只可以为正整数" ng-readonly="!item.$editing" ng-required="true" ng-disabled="isDisabled()">
|
|
|
<span class="text-inverse text-bold">* </span>
|
|
|
</div>
|
|
|
<label class="col-sm-2 control-label">价格有效日期:</label>
|
|
|
@@ -268,16 +268,16 @@
|
|
|
</div>
|
|
|
<label for="taxrate" class="col-sm-2 control-label">税率:</label>
|
|
|
<div class="col-sm-4">
|
|
|
- <input ng-model="item.quotation.taxrate" type="text" class="form-control" id="taxrate"
|
|
|
- placeholder="税率" ng-readonly="!item.$editing" ng-required="true" ng-disabled="isDisabled()">
|
|
|
+ <input ng-model="item.quotation.taxrate" type="text" class="form-control" id="taxrate"
|
|
|
+ placeholder="税率" ng-readonly="!item.$editing" ng-required="true" ng-disabled="isDisabled()">
|
|
|
<span class="text-inverse text-bold">* </span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group form-group-sm">
|
|
|
<label for="remark" class="col-sm-2 control-label">备注:</label>
|
|
|
<div class="col-sm-10">
|
|
|
- <textarea ng-model="item.quotation.remark" class="form-control" rows="3" cols="3" id="remark"
|
|
|
- placeholder="" ng-readonly="!item.$editing" ng-disabled="isDisabled()">
|
|
|
+ <textarea ng-model="item.quotation.remark" class="form-control" rows="3" cols="3" id="remark"
|
|
|
+ placeholder="" ng-readonly="!item.$editing" ng-disabled="isDisabled()">
|
|
|
</textarea>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -293,9 +293,9 @@
|
|
|
<div class="col-sm-3">
|
|
|
<div class="input-group">
|
|
|
<div class="input-group-addon">≥</div>
|
|
|
- <input ng-model="price.lapQty" type="number" class="form-control" id="qty{{$index + 1}}"
|
|
|
- placeholder="最小数量" ng-readonly="$first || !item.$editing" ng-required="true"
|
|
|
- ng-disabled="isDisabled()">
|
|
|
+ <input ng-model="price.lapQty" type="number" class="form-control" id="qty{{$index + 1}}"
|
|
|
+ placeholder="最小数量" ng-readonly="$first || !item.$editing" ng-required="true"
|
|
|
+ ng-disabled="isDisabled()">
|
|
|
<div class="input-group-addon">{{item.product.unit}}</div>
|
|
|
</div>
|
|
|
<span class="text-inverse text-bold">* </span>
|
|
|
@@ -303,8 +303,8 @@
|
|
|
<label for="price{{$index + 1}}" class="num-ctrl col-sm-1 control-label" style="text-align: right;">单价</label>
|
|
|
<div class="col-sm-2">
|
|
|
<input ng-model="price.price" type="text" class="form-control" id="price{{$index + 1}}" placeholder="单价"
|
|
|
- ng-pattern="/^[1-9]\d*\.{0,1}\d*|0\.\d*[1-9]\d*$/" ng-readonly="!item.$editing" ng-required="true"
|
|
|
- ng-disabled="isDisabled()">
|
|
|
+ ng-pattern="/^[1-9]\d*\.{0,1}\d*|0\.\d*[1-9]\d*$/" ng-readonly="!item.$editing" ng-required="true"
|
|
|
+ ng-disabled="isDisabled()">
|
|
|
<span class="text-inverse text-bold">* </span>
|
|
|
</div>
|
|
|
<label class="col-sm-3" style="line-height: 30px;" ng-hide = "isDisabled()">
|
|
|
@@ -315,15 +315,15 @@
|
|
|
<div class="form-group form-group-sm" style="margin-top: 50px;">
|
|
|
<div class="col-sm-2"></div>
|
|
|
<!--<div class="col-sm-2" ng-if="!item.$editing && item.quotation.status == 100">-->
|
|
|
- <!--<button class="public-btn01 btn btn-warning btn-sm" style="width: 100%;" ng-click="update()">修改</button>-->
|
|
|
+ <!--<button class="public-btn01 btn btn-warning btn-sm" style="width: 100%;" ng-click="update()">修改</button>-->
|
|
|
<!--</div>-->
|
|
|
<!--<div class="col-sm-2" ng-if="item.$editing && item.quotation.status == 100">-->
|
|
|
- <!--<button class="public-btn01 btn btn-info btn-sm" style="width: 100%;" ng-click="cancel()">取消</button>-->
|
|
|
+ <!--<button class="public-btn01 btn btn-info btn-sm" style="width: 100%;" ng-click="cancel()">取消</button>-->
|
|
|
<!--</div>-->
|
|
|
- <div class="col-sm-2" ng-if="item.$editing && item.quotation.status != 101">
|
|
|
+ <div class="col-sm-2" ng-if="item.$editing && item.quotation.status != 101 && item.agreed == null">
|
|
|
<button class="public-btn01 btn btn-success btn-sm" style="width: 100%;" ng-disabled="quotationForm.$invalid" ng-click="save()">保存</button>
|
|
|
</div>
|
|
|
- <div class="col-sm-2" ng-if="item.quotation.status != 101">
|
|
|
+ <div class="col-sm-2" ng-if="item.quotation.status != 101 && item.agreed == null">
|
|
|
<button class="public-btn01 btn btn-success btn-sm" style="width: 100%;" ng-disabled="quotationForm.$invalid" ng-click="submit()">提交</button>
|
|
|
</div>
|
|
|
<div class="col-sm-2" ng-if="item.quotation.status == 100">
|