Administrator
2024-03-11 ddb70b44442d91cb57678b06aa02813a8a0499f8
HTML/views/HouseWithinSetting/CRLogTask.html
@@ -130,7 +130,7 @@
               }}
               {{ GetBtn1(d) }}
            </script>
            <!-- 任务类型 -->
            <script type="text/html" id="TypeButton">
               {{# 
@@ -141,6 +141,26 @@
                     html = `<p>出库</p>`; 
                  } else if(d.Type=='2') { 
                     html = `<p>移库</p>`; 
                  } else {
                  }
                  return html;
               }}
            </script>
            <!-- 单据类型 -->
            <script type="text/html" id="OrderTypeButton">
               {{#
                  var html = ``;
                  if(d.OrderType=='0'){
                     html = `<p>入库单</p>`;
                  } else if(d.OrderType=='1') {
                     html = `<p>出库单</p>`;
                  } else if(d.OrderType=='2') {
                     html = `<p>盘点单</p>`;
                  } else if(d.OrderType=='3') {
                     html = `<p>移库单</p>`;
                  } else {
                     
                  }
@@ -271,6 +291,12 @@
                  width: 95,
                  align: 'center',
                  templet: '#TypeButton',
               }, {
                  field: 'OrderType',
                  title: '单据类型',
                  width: 95,
                  align: 'center',
                  templet: '#OrderTypeButton',
               }, {
                  field: 'IsSuccess',
                  title: '是否下发成功',
@@ -620,7 +646,11 @@
                  var param = {
                     taskNo: data.TaskNo
                  };
                  sendData(IP + "/BllCheck/CancelCheckTask", param, 'post', function (res) {
                  var postUrl="/BllCheck/CancelCheckTask"
                  if(data.OrderType=='3'){
                     postUrl='/BllCheck/CancelMoveTask'
                  }
                  sendData(IP + postUrl, param, 'post', function (res) {
                     console.log(res);
                     if (res.code == 0) { //成功
                        layer.msg(res.msg, {
@@ -646,7 +676,11 @@
                  var param = {
                     taskNo: data.TaskNo,
                  };
                  sendData(IP + "/BllCheck/FinishCheckTask", param, 'post', function (res) {
                  var postUrl="/BllCheck/FinishCheckTask"
                  if(data.OrderType=='3'){
                     postUrl='/BllCheck/FinishMoveTask'
                  }
                  sendData(IP + postUrl, param, 'post', function (res) {
                     console.log(res);
                     if (res.code == 0) { //成功
                        layer.msg(res.msg, {