123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <title>ims首页</title>
- <meta name="description" content="">
- <meta name="keywords" content="">
- <link href="/css/ims/base.css" rel="stylesheet">
- <link href="/css/ims/ims.css" rel="stylesheet">
- <style>
- .ims-box {
- margin: 20px;
- }
- .function-box {
- margin-bottom: 40px;
- overflow: hidden;
- }
- .function-box .title {
- height: 24px;
- }
- .function-box .title .icon-title {
- display: inline-block;
- width: 4px;
- height: 24px;
- background-color: #009966;
- vertical-align: middle;
- }
- .function-box .title h1 {
- display: inline-block;
- line-height: 24px;
- }
- .function-wrap>a {
- float: left;
- margin-top: 10px;
- margin-right: 70px;
- width: 70px;
- text-align: center;
- }
- </style>
- </head>
- <body>
- <div class="ims-box">
- <div class="function-box">
- <div class="title">
- <i class="icon-title"></i>
- <h1>销售类</h1>
- </div>
- <div class="function-wrap">
- <?php if($coachStatus!=5):?>
- <a href="<?php echo $this->createUrl('imsSale/trialTable');?>">
- <img src="/images/ims/logo-trial.png" alt="产品试用">
- <div>
- <span>产品试用</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <?php endif;?>
- <a href="<?php echo $this->createUrl('imsSale/trialRestart');?>">
- <img src="/images/ims/logo-trial.png" alt="产品试用">
- <div>
- <span>试用重启</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <a href="<?php echo $this->createUrl('imsSale/trialDeleteList');?>">
- <img src="/images/ims/logo-trial.png" alt="产品试用">
- <div>
- <span>试用学生删除</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <a href="<?php echo $this->createUrl('imsSale/purposeTable');?>">
- <img src="/images/ims/logo-intention.png" alt="销售订单">
- <div>
- <span>销售订单</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <a href="<?php echo $this->createUrl('imsSale/officialTable');?>">
- <img src="/images/ims/logo-order.png" alt="财务订单">
- <div>
- <span>财务订单</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <a href="<?php echo $this->createUrl('imsSale/detailOrder');?>">
- <img src="/images/ims/logo-detailed.png" alt="明细订单">
- <div>
- <span>明细订单</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <a href="<?php echo $this->createUrl('imsSale/cloudPrintTask');?>">
- <img src="/images/ims/logo-detailed.png" alt="云印任务">
- <div>
- <span>云印任务</span>
- <i class="icon-new-_tips"></i>
- </div>
- </a>
- <a href="<?php echo $this->createUrl('imsSale/productSign');?>">
- <img src="/images/ims/logo-detailed.png" alt="产品签名">
- <div>
- <span>产品签名</span>
- <i class="icon-new-_tips"></i>
- </div>
- </a>
-
- <a href="<?php echo $this->createUrl('imsSale/goodsChange');?>">
- <img src="/images/ims/logo-huikuan.png" alt="商品变更">
- <div>
- <span>商品变更</span>
- <i class="icon-new-_tips"></i>
- </div>
- </a>
- </div>
- </div>
- <div class="function-box">
- <div class="title">
- <i class="icon-title"></i>
- <h1>仓库类</h1>
- </div>
- <div class="function-wrap">
- <a href="<?php echo Yii::app()->createUrl('imsStore/allocation');?>">
- <img src="/images/ims/logo-warehouse.png" alt="仓库调拨">
- <div>
- <span>仓库调拨</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <a href="<?php echo Yii::app()->createUrl('imsStore/delivery');?>">
- <img src="/images/ims/logo-sale.png" alt="销售出库">
- <div>
- <span>销售出库</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <!-- <a href="--><?php // echo Yii::app()->createUrl('imsStore/stock');?><!--">-->
- <!-- <img src="/images/ims/logo-stock-checks.png" alt="库存盘点">-->
- <!-- <div>-->
- <!-- <span>库存盘点</span>-->
- <!-- <i class="icon-new-_tips"></i>-->
- <!-- </div></a>-->
- <a href="<?php echo Yii::app()->createUrl('imsStore/transferlist');?>">
- <img src="/images/ims/logo-transfer.png" alt="品目转移">
- <div>
- <span>品目转移</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <a href="<?php echo Yii::app()->createUrl('imsStore/report');?>">
- <img src="/images/ims/logo-Stock.png" alt="库存报表">
- <div>
- <span>库存报表</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <a href="<?php echo Yii::app()->createUrl('imsStore/account');?>">
- <img src="/images/ims/logo-account.png" alt="出入库账簿">
- <div>
- <span>出入库账簿</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <a href="<?php echo Yii::app()->createUrl('imsStore/useOut');?>">
- <img src="/images/ims/out-stock.png" alt="领用出库">
- <div>
- <span>领用出库</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <a href="<?php echo Yii::app()->createUrl('imsStore/newStock');?>">
- <img src="/images/newplan.png" alt="库存盘点">
- <div>
- <span>新库存盘点</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <?php if($coachStatus!=3 && $coachStatus!=5):?>
- <a href="<?php echo $this->createUrl('imsDevice/repairOrder');?>">
- <img src="/images/ims/repair-order.png" alt="维修工单">
- <div>
- <span>维修工单</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <a href="<?php echo $this->createUrl('imsDevice/repairRecord');?>">
- <img src="/images/ims/repair-record.png" alt="维修记录">
- <div>
- <span>维修记录</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <a href="<?php echo $this->createUrl('imsDevice/printUploadList');?>">
- <img src="/images/ims/print_upload.png" alt="印量上传">
- <div>
- <span>印量上传</span>
- <i class="icon-new-_tips"></i>
- </div>
- </a>
- <a href="<?php echo $this->createUrl('imsDevice/taskClean');?>">
- <img src="/images/ims/task-clean.png" alt="清洁任务">
- <div>
- <span>清洁任务</span>
- <i class="icon-new-_tips"></i>
- </div>
- </a>
- <a href="<?php echo $this->createUrl('imsDevice/taskVerify');?>">
- <img src="/images/ims/task-verify.png" alt="清洁任务审核">
- <div>
- <span>清洁任务审核</span>
- <i class="icon-new-_tips"></i>
- </div>
- </a>
- <?php endif;?>
- </div>
- </div>
- <?php if($coachStatus!=3 && $coachStatus!=5):?>
- <div class="function-box">
- <div class="title">
- <i class="icon-title"></i>
- <h1>财务类</h1>
- </div>
- <div class="function-wrap">
- <a href="<?php echo $this->createUrl('imsSale/payment');?>">
- <img src="/images/ims/ims_hkfk.png" width="50" height="50" alt="回款反馈">
- <div>
- <span>回款反馈</span>
- <i class="icon-new-_tips"></i>
- </div>
- </a>
- <a href="<?php echo Yii::app()->createUrl('imsSale/serviceCharge');?>">
- <img src="/images/ims/ims_fwf.png" width="50" height="50" alt="服务费查询">
- <div>
- <span>服务费查询</span>
- <i class="icon-new-_tips"></i>
- </div></a>
- <a href="<?php echo $this->createUrl('imsSale/paymentApply');?>">
- <img src="/images/ims/ims_hkfk.png" width="50" height="50" alt="修改回款反馈申请">
- <div>
- <span>修改回款反馈申请 </span>
- <i class="icon-new-_tips"></i>
- </div>
- </a>
- </div>
- </div>
- <?php endif;?>
- </div>
- <!--30天问调表-->
- <div id="survey-form">
- <h3>XXX30天问调表</h3>
- <form action="" method="post" name="survey-form" id="survey">
- <p><span class="red">*</span>1.外观成色</p>
- <label><input type="radio" name="appearanceFineness" value="25">良好 </label>
- <label> <input type="radio" name="appearanceFineness" value="20">一般</label>
- <p><span class="red">*</span>2.打印效果</p>
- <label> <input type="radio" name="printingEffect" value="25">良好</label>
- <label> <input type="radio" name="printingEffect" value="20">一般</label>
- <p><span class="red">*</span>3.扫描卡纸</p>
- <label> <input type="radio" name="scanPaperJam" value="25">良好:500张左右卡一张</label>
- <label><input type="radio" name="scanPaperJam" value="20">一般:300张左右卡一张</label>
- <label><input type="radio" name="scanPaperJam" value="15">较差:100张左右卡一张</label>
- <p><span class="red">*</span>4.打印卡纸</p>
- <label><input type="radio" name="printPaperJam" value="25">良好:500张左右卡一张</label>
- <label><input type="radio" name="printPaperJam" value="20">一般:300张左右卡一张</label>
- <label><input type="radio" name="printPaperJam" value="15">较差:100张左右卡一张</label>
- </form>
- </div>
- </body>
- <script src="/js/productset/jquery.min.js"></script>
- <script src="/js/ims/xsgl.js"></script>
- <script src="/js/layer/layer.js"></script>
- <script>
- $(document).ready(function () {
- //收货提醒
- $.ajax({
- type: 'post',
- url: "<?php echo Yii::app()->createUrl('imsSale/confirmWaning');?>",
- data: {},
- dataType: 'json',
- success: function (res) {
- // var handleUrl = "<?php echo Yii::app()->createUrl('imsStore/allocation');?>";
- if (res.msg) {
- if(res.data <= 0){
- return false;
- }
- layer.open({
- type: 1,
- title: '温馨提示',
- btn: [ '下次再说'],
- area: ['800px', '280px'], //宽高
- btnAlign: 'c',
- content: res.msg,
- //yes: function (index, layero) {
- // window.location.href = "<?php //echo Yii::app()->createUrl('imsStore/allocation');?>//";
- //},
- btn1: function (index, layero) {
- //取消按钮
- // console.log(111)
- //return false 开启该代码可禁止点击该按钮关闭
- }
- });
- }
- },
- error: function () {
- layer.msg("网络异常");
- }
- });
- var surveyBtn=true;
- $('body')
- .on('click','.survey',function(){
- var id=$(this).attr('id');
- var fixedCode=$(this).attr('fixedCode');
- document.getElementById('survey').reset();
- $('#survey-form').find('h3').html(fixedCode+'设备30天问调表');
- layer.open({
- type: 1,
- title: fixedCode+'设备30天问调表',
- btn: [ '提交'],
- area: ['800px', '680px'], //宽高
- btnAlign: 'c',
- content: $('#survey-form'),
- yes: function (index, layero) {
- if(!surveyBtn){
- return false;
- }
- appearanceFineness=$('input[name=appearanceFineness]:checked').val();
- printingEffect=$('input[name=printingEffect]:checked').val();
- scanPaperJam=$('input[name=scanPaperJam]:checked').val();
- printPaperJam=$('input[name=printPaperJam]:checked').val();
- if(appearanceFineness==undefined){
- layer.msg('请选择外观成色');
- return false;
- }
- if(printingEffect==undefined){
- layer.msg('请选择打印效果');
- return false;
- }
- if(scanPaperJam==undefined){
- layer.msg('请选择扫描卡纸');
- return false;
- }
- if(printPaperJam==undefined){
- layer.msg('请选择打印卡纸');
- return false;
- }
- surveyBtn=false;
- $.ajax({
- type: 'post',
- url: "<?php echo Yii::app()->createUrl('imsSale/editExperience');?>",
- data: {"appearanceFineness":appearanceFineness,"printingEffect":printingEffect,"scanPaperJam":scanPaperJam,"printPaperJam":printPaperJam,"id":id},
- dataType: 'json',
- success:function(res){
- surveyBtn=true;
- if(res.status==1){
- layer.msg('提交成功',{
- icon: 1
- }, function(){
- layer.closeAll();
- });
- }else{
- if(res.msg!=undefined){
- layer.msg(res.msg)
- }else{
- layer.msg('提交失败')
- }
- }
- }
- });
- }
- });
- })
- //清洁提醒
- //$.ajax({
- // type: 'post',
- // url: "<?php //echo Yii::app()->createUrl('imsSale/cleanConfirmWaning');?>//",
- // data: {},
- // dataType: 'json',
- // success: function (res) {
- // var handleUrl = "<?php //echo Yii::app()->createUrl('imsDevice/taskClean');?>//";
- // if (res.status) {
- // if(res.data <= 0){
- // return false;
- // }
- // layer.open({
- // type: 1,
- // title: '温馨提示',
- // btn: [ '下次再说'],
- // area: ['400px', '260px'], //宽高
- // btnAlign: 'c',
- // content: '<div style="padding:10px 20px;"><p style="line-height:30px;color:green;">清洁任务提醒</p><p style="line-height:20px;">你有待提交的清洁任务,请及时处理,否则会判定为不合格 <a style="color:blue;" href='+handleUrl+'>立即处理</a></p></div>',
- // //yes: function (index, layero) {
- // // window.location.href = "<?php ////echo Yii::app()->createUrl('imsStore/allocation');?>////";
- // //},
- // btn1: function (index, layero) {
- // //取消按钮
- // // console.log(111)
- // //return false 开启该代码可禁止点击该按钮关闭
- // }
- // });
- // }
- // },
- // error: function () {
- // layer.msg("网络异常");
- // }
- //});
- //
- ////发货提醒
- //$.ajax({
- // type: 'post',
- // url: "<?php //echo Yii::app()->createUrl('imsSale/sendConfirmWaning');?>//",
- // data: {},
- // dataType: 'json',
- // success: function (res) {
- // var handleUrl = "<?php //echo Yii::app()->createUrl('imsStore/allocation');?>//";
- // if (res.status) {
- // if(res.data <= 0){
- // return false;
- // }
- // layer.open({
- // type: 1,
- // title: '温馨提示',
- // btn: [ '下次再说'],
- // area: ['400px', '260px'], //宽高
- // btnAlign: 'c',
- // content: '<div style="padding:10px 20px;"><p style="line-height:30px;color:green;">挑拨单提醒</p><p style="line-height:20px;">您有待发货的调拨单,请及时处理 <a style="color:blue;" href='+handleUrl+'>立即处理</a></p></div>',
- // //yes: function (index, layero) {
- // // window.location.href = "<?php ////echo Yii::app()->createUrl('imsStore/allocation');?>////";
- // //},
- // btn1: function (index, layero) {
- // //取消按钮
- // // console.log(111)
- // //return false 开启该代码可禁止点击该按钮关闭
- // }
- // });
- // }
- // },
- // error: function () {
- // layer.msg("网络异常");
- // }
- //});
- });
- </script>
- </html>
|