change_new.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8"/>
  5. <title>采购变更单</title>
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
  7. <meta name="Keywords" content=""/>
  8. <meta name="Description" content=""/>
  9. <link rel="stylesheet" href="static/css/deputyOrder/base.css"/>
  10. <link rel="stylesheet" href="static/css/deputyOrder/order.css"/>
  11. </head>
  12. <body>
  13. <style>
  14. /* 日期选择器 */
  15. .date-picker span .btn-open {
  16. color: #fff;
  17. background-color: #5078cb;
  18. border-radius: 0;
  19. border: 1px solid #5078cb;
  20. border-left: none;
  21. }
  22. /* 修改本页内btn的样式 及datepicker中的btn-success的样式 */
  23. .date-picker .btn {
  24. border-radius: 0;
  25. }
  26. .date-picker .btn-success {
  27. background-color: #3f84f6;
  28. }
  29. .date-picker ul {
  30. border-radius: 0;
  31. }
  32. .date-picker ul div:focus {
  33. outline: none;
  34. border-radius: 0;
  35. border: none;
  36. }
  37. .purchase_form01 ul li .dropdown-menu {
  38. width: 257px;
  39. height: 300px;
  40. }
  41. .purchase_form01 ul li .dropdown-menu span{
  42. width: 14px;
  43. height: 16px;
  44. line-height: 20px;
  45. }
  46. .purchase_form01 ul li.ng-scope{
  47. margin-top: 210px
  48. }
  49. .purchase_form01 ul li.ng-scope span{
  50. width: 120px;
  51. height: 50px;
  52. }
  53. .purchase_form01 ul li .input-group .input-group-btn .btn-sm{
  54. width: 37px;
  55. height: 34px;
  56. z-index: 3;
  57. position: absolute;
  58. background: #bfbfbf;
  59. border: 1px solid #bfbfbf;
  60. margin-left: 75px;
  61. }
  62. .purchase_form01 ul li .input-group .input-group-btn .btn-sm:focus{
  63. background: #5078cb;
  64. }
  65. .purchase_form01 ul li .input-group .form-control {
  66. width:200px;
  67. background: #fff;
  68. border: #bfbfbf 1px solid;
  69. }
  70. .purchase_form01 ul li .input-group .form-control:focus{
  71. border: #5078cb 1px solid;
  72. }
  73. .purchase_form01 ul li .dropdown-menu li{
  74. line-height: 30px;
  75. }
  76. .purchase_form01 ul li .dropdown-menu button{
  77. position: relative;
  78. widhth: 46px;
  79. height: 30px;
  80. border-color: #fff;
  81. }
  82. .purchase_form01 ul li .dropdown-menu div{
  83. width: 255px;
  84. height: 220px;
  85. }
  86. .purchase_form01 ul li .dropdown-menu span i{
  87. color: white;
  88. }
  89. .purchase_xq dd input{
  90. border: none;
  91. border-bottom: 1px solid #333;
  92. height: 35px;
  93. width: 80px;
  94. font-size: 14px;
  95. }
  96. .purchase_xq dd input:focus {
  97. border-bottom: 1px solid blue;
  98. }
  99. .purchase .input-group .form-control{
  100. border-radius: 0px;
  101. border: 1px solid #5078cb;
  102. }
  103. .purchase .input-group .input-group-btn i{
  104. color: #fff;
  105. }
  106. .purchase .input-group .input-group-btn {
  107. width: 37px;
  108. height: 34px;
  109. position: absolute;
  110. right: 74px;
  111. }
  112. .purchase_xq dl span.wid01{
  113. width: 4% !important;
  114. }
  115. .purchase_xq dl span.wid02{
  116. width: 13% !important;
  117. }
  118. .purchase_xq dl span{
  119. width: 9.2% !important;
  120. }
  121. .purchase_xq dd input{
  122. width: 92%;
  123. }
  124. .purchase_form01 b {
  125. color: red;
  126. }
  127. .com_title01 span{
  128. margin-left: 37px;
  129. }
  130. /*新增变更明细*/
  131. .purchase_xq {
  132. width: 948px;
  133. overflow: auto;
  134. }
  135. .purchase_xq .table{
  136. margin-bottom: 0;
  137. table-layout: fixed;
  138. border-collapse: collapse;
  139. width: 100%;
  140. }
  141. .purchase_xq .table thead tr>th{
  142. font-size: 14px;
  143. height: 35px;
  144. line-height: 35px;
  145. color: #323232;
  146. border-bottom: 1px solid #ddd;
  147. font-weight: normal;
  148. text-align: center;
  149. }
  150. .purchase_xq .table tbody tr td{
  151. width: 100%;
  152. text-align: center;
  153. overflow: hidden;
  154. white-space: nowrap;
  155. text-overflow: ellipsis;
  156. vertical-align: middle;
  157. }
  158. .purchase_xq .table tbody tr td input{
  159. border: none;
  160. height: 35px;
  161. width: 80px;
  162. font-size: 14px;
  163. }
  164. .purchase_xq .table tbody tr td input:focus {
  165. border: #3578ba 1px solid !important;
  166. outline: 0;
  167. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  168. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  169. }
  170. .purchase_xq .input-group .form-control {
  171. width: 80px;
  172. height: 30px;
  173. line-height: 30px;
  174. border: none;
  175. border-radius: 5px;
  176. background: #dcdcdc;
  177. }
  178. .purchase_xq .table tbody tr td input.form-control:focus{
  179. border: none!important;
  180. }
  181. .purchase_xq .table tbody tr td ul.dropdown-menu{
  182. min-width: auto !important;
  183. display: block;
  184. top: 712px;
  185. left: 1100.5px!important;
  186. }
  187. </style>
  188. <div class="warp">
  189. <div class=" purchase">
  190. <form class="width100" name="order" autocomplete="off">
  191. <div class="com_head"><span>采购变更单</span></div>
  192. <div class="purchase_form">
  193. <!--基本信息-->
  194. <div class="com_title01"><span>基本信息</span></div>
  195. <div class="purchase_form01 clearfix">
  196. <ul>
  197. <li>
  198. <div class="fl">
  199. <em>变更单号:</em>
  200. <span ng-bind="change.code"></span>
  201. </div>
  202. <div class="fl">
  203. <em>采购单号:</em>
  204. <div class="input-group">
  205. <span class="input-group-btn">
  206. <button class="btn btn-sm" type="button" ng-click="getEnableOrders()"><i class="fa fa-search"></i></button>
  207. </span>
  208. <input type="text" ng-model="change.orderCode" class="form-control" readonly>
  209. </div>
  210. </div>
  211. </li>
  212. <li>
  213. <div class="fr">
  214. <em>录入人:</em>
  215. <span ng-bind="change.recorder"></span>
  216. </div>
  217. <div class="fr">
  218. <em>录入日期:</em>
  219. <span class="has_time" ng-bind="change.date| date: 'yyyy-MM-dd'"></span>
  220. </div>
  221. </li>
  222. <li>
  223. <div class="fr">
  224. <em>原付款方式:</em>
  225. <span ng-bind="change.oldPayments || '无'"></span>
  226. </div>
  227. <div class="fr">
  228. <em>新付款方式:</em>
  229. <span><input type="text" class="input01" ng-model="change.newPayments"></span>
  230. </div>
  231. </li>
  232. <li>
  233. <div class="fr">
  234. <em>原付款币种:</em>
  235. <span ng-bind="change.oldCurrency || '无'"></span>
  236. </div>
  237. <div class="fr">
  238. <em>新付款币种:</em>
  239. <span><input type="text" class="input01" ng-model="change.newCurrency"></span>
  240. </div>
  241. </li>
  242. <li>
  243. <div class="fr">
  244. <em>原付款汇率:</em>
  245. <span ng-bind="change.oldRate || '无'"></span>
  246. </div>
  247. <div class="fr">
  248. <em>新付款汇率:</em>
  249. <span><input type="text" class="input01" ng-model="change.newRate"></span>
  250. </div>
  251. </li>
  252. <li>
  253. <div class="fr">
  254. <em>备注:</em>
  255. <span><input type="text" class="input01" ng-model="change.remark"></span>
  256. </div>
  257. <div class="fr">
  258. <em>是否需要供应商确认:</em>
  259. <select name="" class="select" ng-model="change.unNeedReply" ng-required="true">
  260. <option value="1">是</option>
  261. <option value="0">否</option>
  262. </select>
  263. </div>
  264. </li>
  265. </ul>
  266. </div>
  267. <div class="com_title01"><span>变更明细</span></div>
  268. <div class="purchase_xq clearfix" scroll-table>
  269. <table class="table">
  270. <thead>
  271. <tr>
  272. <th width="60">序号</th>
  273. <th width="160">产品名称</th>
  274. <th width="160">型号</th>
  275. <th width="160">品牌</th>
  276. <th width="100">原数量</th>
  277. <th width="100">新数量</th>
  278. <th width="100">原单价</th>
  279. <th width="100">新单价</th>
  280. <th width="100">原税率</th>
  281. <th width="100">新税率</th>
  282. <th width="100">原交货日期</th>
  283. <th width="100">新交货日期</th>
  284. <th width="130">操作</th>
  285. </tr>
  286. </thead>
  287. <tbody>
  288. <tr ng-repeat="item in change.orderChangeItems">
  289. <td>{{$index+1}}</td>
  290. <td ng-bind="item.oldProduct.title || '-'" title="{{item.oldProduct.title}}"></td>
  291. <td ng-bind="item.oldProduct.cmpCode || '-'" title="{{item.oldProduct.cmpCode}}"></td>
  292. <td ng-bind="item.oldProduct.brand || '-'" title="{{item.oldProduct.brand}}"></td>
  293. <td ng-bind="item.oldQty || '-'" title="{{item.oldQty}}"></td>
  294. <td><input type="text" class="text-center" ng-model="item.newQty" placeholder="新数量"></td>
  295. <td ng-bind="item.oldPrice || '-'" title="{{item.oldPrice}}"></td>
  296. <td><input type="text" class="text-center" ng-model="item.newPrice" placeholder="新单价"></td>
  297. <td ng-bind="item.oldTaxrate || '-'" title="{{item.oldTaxrate}}"></td>
  298. <td><input type="text" class="text-center" ng-model="item.newTaxrate" placeholder="新税率"></td>
  299. <td ng-bind="item.oldDelivery | date: 'yyyy-MM-dd'" title="{{item.oldDelivery | date: 'yyyy-MM-dd'}}"></td>
  300. <td style="overflow: visible;" id="delivery">
  301. <input ng-model="item.newDelivery" type="text" class="editable"
  302. placeholder="点击选择时间" datepicker-popup="yyyy-MM-dd" is-open="item.$dateOpen"
  303. min-date="getMinDate()" ng-required="true"
  304. current-text="今天" clear-text="清除" close-text="关闭"
  305. datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
  306. ng-focus="openDatePicker($event, $dateOpen)" readonly
  307. ng-click="openDatePicker($event, item.$dateOpen, $index)">
  308. </td>
  309. <td>
  310. <!--<a ng-click="add($index)" style="color: #1f4fb2">添加</a>-->
  311. <a ng-click="del($index)" style="color: #d32526"> 删除</a>
  312. </td>
  313. </tr>
  314. </tbody>
  315. </table>
  316. </div>
  317. <div class="save">
  318. <button ng-click="save()">提交</button>
  319. </div>
  320. </div>
  321. </form>
  322. </div>
  323. </div>
  324. </body>
  325. </html>