From c388b869f9fc019a2dadb41f25f240f4e4aaf31d Mon Sep 17 00:00:00 2001
From: yuyou_x <2336760928@qq.com>
Date: 星期三, 13 三月 2024 11:48:45 +0800
Subject: [PATCH] 修改添加物料编码重复的提示消息,编辑物料编码重复时需过滤本身,修改编辑物料信息成功的提示消息,物料类别区域设为必填项,包装管理一级包装添加或编辑时不可为空,类别编码、包装编码不可更改。
---
HTML/views/HouseWithinSetting/CRLogTask.html | 40 +++++++++++++++++++++++++++++++++++++---
1 files changed, 37 insertions(+), 3 deletions(-)
diff --git a/HTML/views/HouseWithinSetting/CRLogTask.html b/HTML/views/HouseWithinSetting/CRLogTask.html
index 349212a..26d6a65 100644
--- a/HTML/views/HouseWithinSetting/CRLogTask.html
+++ b/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, {
--
Gitblit v1.8.0