edit
Esse commit está contido em:
@@ -426,6 +426,26 @@
|
||||
<!-- <script src="../../js/acountExpressFee.js" charset="utf-8"></script> -->
|
||||
<%@include file="/views/copyResult.jsp" %>
|
||||
<script>
|
||||
setNumberOptions();
|
||||
|
||||
function setNumberOptions() {
|
||||
let html = '';
|
||||
if (window.parent.system_isPdd) {
|
||||
html = `<option value=""></option>
|
||||
<option value="1">改序号</option>
|
||||
<option value="2">改名字</option>
|
||||
<option value="3">改二维码</option>
|
||||
<option value="4">改图片</option>
|
||||
<option value="5">改内容模板相同</option>
|
||||
<option value="6" selected>改内容模板完全不同</option>`;
|
||||
} else {
|
||||
html = `<option value=""></option>
|
||||
<option value="1">改序号</option>
|
||||
<option value="6" selected>改内容模板完全不同</option>`;
|
||||
}
|
||||
$("#desType").empty().append(html);
|
||||
}
|
||||
|
||||
layui.use(['element', 'table', 'form', 'carousel'], function () {
|
||||
var form = layui.form; //只有执行了这一步,部分表单元素才会自动修饰成功
|
||||
var carousel = layui.carousel;
|
||||
@@ -460,7 +480,7 @@
|
||||
});
|
||||
$("#number").on("input", function (e) {
|
||||
var number = e.delegateTarget.value;
|
||||
if (window.parent.system_isPdd && $("input[name='stickerKind']:checked").val() == "专版打印" && number > 1) {
|
||||
if ($("input[name='stickerKind']:checked").val() == "专版打印" && number > 1) {
|
||||
$("#ui_des").show();
|
||||
} else {
|
||||
$("#ui_des").hide();
|
||||
@@ -566,7 +586,7 @@
|
||||
$(".ui_cq").find(":input").attr("disabled", true);
|
||||
$(".normal").hide();
|
||||
$('.normal input').prop("checked", false);
|
||||
if (window.parent.system_isPdd && $("#number").val() > 1) {
|
||||
if ($("#number").val() > 1) {
|
||||
$("#ui_des").show();
|
||||
}
|
||||
$(".ui_sm").hide();
|
||||
@@ -1568,7 +1588,7 @@
|
||||
if (kindValue == "拉丝金" || kindValue == "拉丝银" || kindValue == "PP合成纸") {
|
||||
craftMo = ""
|
||||
}
|
||||
if (window.parent.system_isPdd && number > 1) {
|
||||
if (number > 1) {
|
||||
if ($("#desType option:selected").val() == "" || $("#desType option:selected").val() == null) {
|
||||
layer.msg('请选择设计内容!', {offset: ['300px', '300px']}, function () {
|
||||
});
|
||||
@@ -1735,7 +1755,7 @@
|
||||
span_result += kind + ' - ' + size + "厘米 - " + craft_list.join("-") + '\n';
|
||||
|
||||
if (number > 1) {
|
||||
if (window.parent.system_isPdd && stickerKind == "专版打印") {
|
||||
if (stickerKind == "专版打印") {
|
||||
let numberType = $("#desType option:selected").text();
|
||||
span_result += "款数:" + number + "-" + numberType + "\n";
|
||||
}
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário