修改gitIgnore

This commit is contained in:
hehaibing-1996
2025-01-16 08:13:40 +08:00
parent 143c37421e
commit 0ec750119d
11 changed files with 573 additions and 126 deletions

5
.gitignore vendored
View File

@ -22,6 +22,11 @@ bld/
[Oo]bj/
[Ll]og/
# uni-app unpackage directory
unpackage/
unpackage/dist/dev/
# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot

View File

@ -2,7 +2,7 @@
;(function(){
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"智慧物流系统-移动端","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"PDA","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.36","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"智慧物流系统-移动端","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"智慧物流系统-登录","type":"default"},"isNVue":false}},{"path":"pages/config/config","meta":{"navigationBar":{"titleText":"智慧物流系统-用户配置","type":"default"},"isNVue":false}},{"path":"pages/main/main","meta":{"navigationBar":{"titleText":"智慧物流系统-主页","type":"default"},"isNVue":false}},{"path":"pages/bind/bind","meta":{"navigationBar":{"titleText":"智慧物流系统-物料绑定","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
__uniConfig.styles=[];//styles
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});

View File

@ -40,90 +40,22 @@ if (uni.restoreGlobal) {
}
var main = null;
var receiver = null;
function recive(success, fail) {
main = plus.android.runtimeMainActivity();
receiver = plus.android.implements("io.dcloud.feature.internal.reflect.BroadcastReceiver", {
onReceive: function(context, intent) {
plus.android.importClass(intent);
var action = intent.getAction();
var data;
switch (action) {
case "com.android.server.scannerservice.broadcast":
data = intent.getExtra("scannerdata");
break;
case "android.intent.action.SCANRESULT":
data = intent.getExtra("value");
break;
case "android.intent.ACTION_DECODE_DATA":
data = intent.getExtra("barcode_string");
break;
case "com.android.provider.sdlmessage":
data = intent.getExtra("msg");
break;
case "com.neusoft.action.scanner.read":
data = intent.getStringExtra("scanner_value");
if (data == null) {
data = intent.getStringExtra("Scanner_value");
}
break;
case "nlscan.action.SCANNER_RESULT":
data = intent.getExtra("SCAN_BARCODE1");
break;
case "com.barcode.sendBroadcast":
data = intent.getExtra("BARCODE");
break;
case "scan.rcv.message":
let barocode = intent.getByteArrayExtra("barocode");
let barocodelen = intent.getIntExtra("length", 0);
data = new String(barocode, 0, barocodelen);
break;
case "xlyk.wz":
data = intent.getExtra("qrcode");
break;
case "com.android.scanner.broadcast":
data = intent.getExtra("scandata");
break;
case "com.honeywell.scan.broadcast":
data = intent.getExtra("data");
break;
}
if (data) {
success({
type: "barcode",
data: data.replace(/\n/, "").replace(/\t/, "").trim()
//处理结束符和换行符为空
});
} else {
fail({
type: "barcode",
data: "未识别到扫码数据"
//处理结束符和换行符为空
});
}
}
});
var IntentFilter = plus.android.importClass("android.content.IntentFilter");
plus.android.importClass("android.content.Intent");
var filter = new IntentFilter();
filter.addAction("com.android.provider.sdlMessage");
filter.addAction("com.neusoft.action.scanner.read");
filter.addAction("nlscan.action.SCANNER_RESULT");
filter.addAction("scan.rcv.message");
filter.addAction("com.android.server.scannerservice.broadcast");
filter.addAction("android.intent.action.SCANRESULT");
filter.addAction("android.intent.ACTION_DECODE_DATA");
filter.addAction("com.barcode.sendBroadcast");
filter.addAction("xlyk.wz");
filter.addAction("com.android.scanner.broadcast");
filter.addAction("com.android.scanner.broadcast");
filter.addAction("com.honeywell.scan.broadcast");
main.registerReceiver(receiver, filter);
}
function unregisterReceiver() {
formatAppLog("log", "at src/libs/Broadcast.js:110", "取消监听广播");
main.unregisterReceiver(receiver);
}
const _imports_0 = "/static/logo.png";
function saveConfig(key, value) {
uni.setStorageSync(key, value);
}
function getConfig(key, defaultValue) {
return uni.getStorageSync(key) || defaultValue;
}
function getServerIPAndPort() {
var serverIP = getConfig("serverIP", "127.0.0.1");
var serverPort = getConfig("serverPort", "8888");
return serverIP + ":" + serverPort;
}
const _imports_0$2 = "/static/logo.png";
const _export_sfc = (sfc, props) => {
const target = sfc.__vccOpts || sfc;
for (const [key, val] of props) {
@ -131,20 +63,22 @@ if (uni.restoreGlobal) {
}
return target;
};
const _sfc_main$1 = {
const _sfc_main$4 = {
data() {
return {
title: "登录"
title: "登录",
showPassword: true,
userName: "",
passWord: "",
serverIPAndPort: ""
};
},
onShow: function() {
const self = this;
recive(function(res) {
formatAppLog("log", "at pages/index/index.vue:45", "Success:" + res.data);
self.getEquipmentInfo(res.data);
}, function(err) {
formatAppLog("log", "at pages/index/index.vue:48", "Error:", JSON.stringify(err));
});
this.serverIPAndPort = getServerIPAndPort();
},
onLoad: function() {
this.userName = getConfig("userName", "admin");
this.passWord = getConfig("passWord", "admin123");
},
onUnload: function() {
unregisterReceiver();
@ -152,29 +86,87 @@ if (uni.restoreGlobal) {
methods: {
getEquipmentInfo(encodedString) {
encodedString = encodedString.replace(/,\s*\.\.\.$/, "");
formatAppLog("log", "at pages/index/index.vue:59", "1:" + encodedString);
formatAppLog("log", "at pages/index/index.vue:93", "1:" + encodedString);
let byteStrings = encodedString.split(",");
let byteArray = [];
for (let byteString of byteStrings) {
byteArray.push(parseInt(byteString, 10));
}
formatAppLog("log", "at pages/index/index.vue:66", "2:" + encodedString);
formatAppLog("log", "at pages/index/index.vue:100", "2:" + encodedString);
let originalString = "";
for (let i = 0; i < byteArray.length; i++) {
originalString += String.fromCharCode(byteArray[i]);
}
formatAppLog("log", "at pages/index/index.vue:75", "3:" + originalString);
formatAppLog("log", "at pages/index/index.vue:109", "3:" + originalString);
this.title = originalString;
formatAppLog("log", "at pages/index/index.vue:77", "4:" + this.title);
formatAppLog("log", "at pages/index/index.vue:111", "4:" + this.title);
},
login() {
var serverIPAndPort = getServerIPAndPort();
formatAppLog("log", "at pages/index/index.vue:115", "http://" + serverIPAndPort + "/user/userLogin");
uni.request({
url: "http://" + serverIPAndPort + "/user/userLogin",
// 请求的接口地址
method: "POST",
// 设置请求方式为 POST
data: {
"username": this.userName,
"password": this.passWord,
"deviceType": "PDA"
},
header: {
"Content-Type": "application/json"
// 如果需要以JSON格式发送数据
},
success: (res) => {
if (res.statusCode === 200) {
if (res.data.code == 200) {
uni.showToast({
title: "登录成功!",
icon: "none",
duration: 1500
});
saveConfig("userName", this.userName);
saveConfig("passWord", this.passWord);
uni.redirectTo({
url: "/pages/main/main"
});
} else {
uni.showToast({
title: "获取设备基本信息失败:" + res.data.message,
icon: "none",
duration: 2e3
});
}
} else {
this.text = "服务器返回错误状态码" + res.statusCode;
}
},
fail: (err) => {
uni.showToast({
title: "请求失败" + err,
icon: "none",
duration: 2e3
});
},
complete: (event) => {
formatAppLog("log", "at pages/index/index.vue:167", "请求完成", event);
}
});
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock("view", { class: "bg-image" }, [
vue.createElementVNode("image", {
class: "logo",
src: _imports_0
}),
vue.createElementVNode("navigator", {
url: "../config/config",
"hover-class": "navigator-hover"
}, [
vue.createElementVNode("image", {
class: "logo",
src: _imports_0$2
})
]),
vue.createElementVNode("view", { class: "text-area" }, [
vue.createElementVNode(
"text",
@ -184,40 +176,465 @@ if (uni.restoreGlobal) {
/* TEXT */
)
]),
vue.createElementVNode("view", { class: "logo" }, [
vue.createElementVNode("view", { class: "uni-flex uni-row" }, [
vue.createElementVNode("view", {
class: "uni-flex uni-column",
style: { "flex": "1" }
}, [
vue.createElementVNode("view", { style: { "margin-top": "90rpx", "margin-bottom": "90rpx" } }, [
vue.createElementVNode("view", { class: "diy-flex-column" }, [
vue.createElementVNode("view", { class: "diy-flex-row" }, [
vue.createElementVNode("view", { style: { "flex": "5" } }),
vue.createElementVNode("view", { style: { "flex": "15" } }, "用  户  名:"),
vue.createElementVNode("view", {
class: "uni-flex",
style: { "flex": "1" }
}, "用户昵称:"),
vue.createElementVNode("view", {
class: "uni-flex",
style: { "flex": "1" }
}, "123")
style: { "flex": "20" },
class: "uni-input-wrapper"
}, [
vue.withDirectives(vue.createElementVNode(
"input",
{
class: "uni-input",
style: { "font-size": "50rpx" },
placeholder: "请输入用户名",
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.userName = $event)
},
null,
512
/* NEED_PATCH */
), [
[vue.vModelText, $data.userName]
])
]),
vue.createElementVNode("view", { style: { "flex": "5" } })
]),
vue.createElementVNode("view", {
class: "uni-flex uni-column",
style: { "flex": "1" }
vue.createElementVNode("view", { class: "diy-flex-row" }, [
vue.createElementVNode("view", { style: { "flex": "5" } }),
vue.createElementVNode("view", { style: { "flex": "15" } }, "密       码:"),
vue.createElementVNode("view", {
style: { "flex": "20" },
class: "uni-input-wrapper"
}, [
vue.withDirectives(vue.createElementVNode("input", {
class: "uni-input",
style: { "font-size": "50rpx" },
placeholder: "请输入密码",
password: $data.showPassword,
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.passWord = $event)
}, null, 8, ["password"]), [
[vue.vModelText, $data.passWord]
])
]),
vue.createElementVNode("view", { style: { "flex": "5" } })
])
])
]),
vue.createElementVNode("view", { style: { "margin-top": "70rpx", "margin-bottom": "20rpx" } }, [
vue.createElementVNode("button", {
onClick: _cache[2] || (_cache[2] = (...args) => $options.login && $options.login(...args)),
style: { "margin-left": "90rpx", "margin-right": "90rpx" },
type: "default",
plain: "true"
}, "登     录")
]),
vue.createElementVNode("view", { style: { "margin-top": "70rpx", "margin-bottom": "20rpx", "text-align": "center" } }, [
vue.createElementVNode(
"view",
null,
vue.toDisplayString($data.serverIPAndPort),
1
/* TEXT */
)
])
]);
}
const PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$3], ["__file", "E:/代码/赛特制冷WCS/wcs/PDA/PDA/pages/index/index.vue"]]);
const _sfc_main$3 = {
data() {
return {
serverIP: "",
serverPort: ""
};
},
onLoad: function() {
this.serverIP = getConfig("serverIP", "127.0.0.1");
this.serverPort = getConfig("serverPort", "8888");
},
methods: {
saveConfigs() {
saveConfig("serverIP", this.serverIP);
saveConfig("serverPort", this.serverPort);
uni.showToast({
title: "配置保存成功",
icon: "success"
});
}
}
};
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock("view", { class: "container" }, [
vue.createElementVNode("view", null, [
vue.createElementVNode("label", null, "服务器IP:"),
vue.withDirectives(vue.createElementVNode(
"input",
{
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.serverIP = $event),
placeholder: "请输入服务器IP"
},
null,
512
/* NEED_PATCH */
), [
[vue.vModelText, $data.serverIP]
])
]),
vue.createElementVNode("view", null, [
vue.createElementVNode("label", null, "服务器端口:"),
vue.withDirectives(vue.createElementVNode(
"input",
{
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.serverPort = $event),
placeholder: "请输入服务器端口"
},
null,
512
/* NEED_PATCH */
), [
[vue.vModelText, $data.serverPort]
])
]),
vue.createElementVNode("button", {
onClick: _cache[2] || (_cache[2] = (...args) => $options.saveConfigs && $options.saveConfigs(...args))
}, "保存配置")
]);
}
const PagesConfigConfig = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$2], ["__file", "E:/代码/赛特制冷WCS/wcs/PDA/PDA/pages/config/config.vue"]]);
const _imports_0$1 = "/static/logOut.png";
const _imports_1 = "/static/bind.png";
const _imports_2 = "/static/bindQuery.png";
const _imports_3 = "/static/callIn.png";
const _imports_4 = "/static/callOut.png";
const _imports_5 = "/static/stockTaking.png";
const _imports_6 = "/static/task.png";
const _sfc_main$2 = {
data() {
return {};
},
methods: {}
};
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock("view", { class: "bg-image" }, [
vue.createElementVNode("view", null, [
vue.createElementVNode("navigator", {
url: "../index/index",
"open-type": "redirect",
"hover-class": "other-navigator-hover"
}, [
vue.createElementVNode("view", { class: "logOut-container" }, [
vue.createElementVNode("image", {
class: "logOut-image",
src: _imports_0$1
})
])
])
]),
vue.createElementVNode("view", { style: { "display": "flex", "flex-direction": "row", "margin-bottom": "10rpx", "margin-top": "30rpx" } }, [
vue.createElementVNode("view", { style: { "flex": "1" } }),
vue.createElementVNode("view", {
class: "uni-flex uni-column",
style: { "flex": "5" }
}, [
vue.createElementVNode("navigator", {
url: "../bind/bind",
"hover-class": "navigator-hover"
}, [
vue.createElementVNode("view", {
class: "uni-flex",
style: { "flex": "1" }
}, "设备型号:"),
class: "uni-flex uni-row",
style: { "-webkit-justify-content": "center", "justify-content": "center" }
}, [
vue.createElementVNode("image", {
class: "function-image",
src: _imports_1
})
]),
vue.createElementVNode("view", { class: "function-text" }, "物料绑定")
])
]),
vue.createElementVNode("view", {
class: "uni-flex uni-column",
style: { "flex": "5" }
}, [
vue.createElementVNode("view", {
class: "uni-flex uni-row",
style: { "-webkit-justify-content": "center", "justify-content": "center" }
}, [
vue.createElementVNode("image", {
class: "function-image",
src: _imports_2
})
]),
vue.createElementVNode("view", { class: "function-text" }, "绑定查询")
]),
vue.createElementVNode("view", {
class: "uni-flex uni-column",
style: { "flex": "5" }
}, [
vue.createElementVNode("view", {
class: "uni-flex uni-row",
style: { "-webkit-justify-content": "center", "justify-content": "center" }
}, [
vue.createElementVNode("image", {
class: "function-image",
src: _imports_3
})
]),
vue.createElementVNode("view", { class: "function-text" }, "产线呼叫")
]),
vue.createElementVNode("view", { style: { "flex": "1" } })
]),
vue.createElementVNode("view", { style: { "display": "flex", "flex-direction": "row", "margin-bottom": "10rpx", "margin-top": "30rpx" } }, [
vue.createElementVNode("view", { style: { "flex": "1" } }),
vue.createElementVNode("view", {
class: "uni-flex uni-column",
style: { "flex": "5" }
}, [
vue.createElementVNode("navigator", {
url: "../bind/bind",
"hover-class": "navigator-hover"
}, [
vue.createElementVNode("view", {
class: "uni-flex",
style: { "flex": "1" }
}, "123")
class: "uni-flex uni-row",
style: { "-webkit-justify-content": "center", "justify-content": "center" }
}, [
vue.createElementVNode("image", {
class: "function-image",
src: _imports_4
})
]),
vue.createElementVNode("view", { class: "function-text" }, "货架送回")
])
]),
vue.createElementVNode("view", {
class: "uni-flex uni-column",
style: { "flex": "5" }
}, [
vue.createElementVNode("view", {
class: "uni-flex uni-row",
style: { "-webkit-justify-content": "center", "justify-content": "center" }
}, [
vue.createElementVNode("image", {
class: "function-image",
src: _imports_5
})
]),
vue.createElementVNode("view", { class: "function-text" }, "库存盘点")
]),
vue.createElementVNode("view", {
class: "uni-flex uni-column",
style: { "flex": "5" }
}, [
vue.createElementVNode("view", {
class: "uni-flex uni-row",
style: { "-webkit-justify-content": "center", "justify-content": "center" }
}, [
vue.createElementVNode("image", {
class: "function-image",
src: _imports_6
})
]),
vue.createElementVNode("view", { class: "function-text" }, "任务管理")
]),
vue.createElementVNode("view", { style: { "flex": "1" } })
])
]);
}
const PagesMainMain = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$1], ["__file", "E:/代码/赛特制冷WCS/wcs/PDA/PDA/pages/main/main.vue"]]);
const _imports_0 = "/static/scan.png";
const _sfc_main$1 = {
data() {
return {
matCode: "",
locationCode: "",
shelfCode: "",
matCode: "",
matName: "",
matSpec: "",
matQty: 100
};
},
methods: {
bind: function() {
formatAppLog("log", "at pages/bind/bind.vue:120", "123");
document.getElementById("inputMatCode").scrollIntoView(true);
formatAppLog("log", "at pages/bind/bind.vue:122", "111");
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock("view", { class: "bg-image" }, [
vue.createElementVNode("view", { class: "diy-flex-row" }, [
vue.createElementVNode("view", { style: { "flex": "3" } }, [
vue.createCommentVNode(" 占位 ")
]),
vue.createElementVNode("view", { style: { "flex": "80", "margin": "5rpx" } }, [
vue.createElementVNode("view", { class: "diy-flex-row" }, [
vue.createElementVNode("view", {
class: "rightImageContainer",
style: { "flex": "12", "padding-top": "20rpx" }
}, [
vue.createElementVNode("image", {
style: { "width": "60rpx", "height": "60rpx" },
src: _imports_0
})
]),
vue.createElementVNode("view", {
class: "uni-input-wrapper",
style: { "flex": "60" }
}, [
vue.withDirectives(vue.createElementVNode(
"input",
{
id: "inputMatCode",
class: "uni-input",
style: { "font-size": "50rpx", "padding": "10rpx" },
placeholder: "请先扫描工位码",
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.matCode = $event)
},
null,
512
/* NEED_PATCH */
), [
[vue.vModelText, $data.matCode]
])
]),
vue.createElementVNode("view", { style: { "flex": "3" } }),
vue.createElementVNode("view", { style: { "flex": "30" } }, [
vue.createElementVNode("button", null, "查询")
])
])
]),
vue.createElementVNode("view", { style: { "flex": "3" } }, [
vue.createCommentVNode(" 占位 ")
])
]),
vue.createElementVNode("view", {
class: "diy-flex-column",
style: { "margin-top": "20rpx" }
}, [
vue.createElementVNode("view", {
class: "diy-flex-inforow",
style: { "flex": "1" }
}, [
vue.createElementVNode("view", { style: { "flex": "5" } }),
vue.createElementVNode("view", { style: { "flex": "35" } }, "工位编码:"),
vue.createElementVNode(
"view",
{ style: { "flex": "50" } },
vue.toDisplayString($data.locationCode),
1
/* TEXT */
),
vue.createElementVNode("view", { style: { "flex": "40" } }, [
vue.createElementVNode("button", {
class: "mini-btn",
type: "warn",
size: "mini"
}, "呼叫货架")
])
]),
vue.createElementVNode("view", {
class: "diy-flex-inforow",
style: { "flex": "1" }
}, [
vue.createElementVNode("view", { style: { "flex": "5" } }),
vue.createElementVNode("view", { style: { "flex": "35" } }, "货架编码:"),
vue.createElementVNode(
"view",
{ style: { "flex": "90" } },
vue.toDisplayString($data.shelfCode),
1
/* TEXT */
)
]),
vue.createElementVNode("view", {
class: "diy-flex-inforow",
style: { "flex": "1" }
}, [
vue.createElementVNode("view", { style: { "flex": "5" } }),
vue.createElementVNode("view", { style: { "flex": "35" } }, "物料编码:"),
vue.createElementVNode(
"view",
{ style: { "flex": "90" } },
vue.toDisplayString($data.matCode),
1
/* TEXT */
)
]),
vue.createElementVNode("view", {
class: "diy-flex-inforow",
style: { "flex": "1" }
}, [
vue.createElementVNode("view", { style: { "flex": "5" } }),
vue.createElementVNode("view", { style: { "flex": "35" } }, "物料名称:"),
vue.createElementVNode(
"view",
{ style: { "flex": "90" } },
vue.toDisplayString($data.matName),
1
/* TEXT */
)
]),
vue.createElementVNode("view", {
class: "diy-flex-inforow",
style: { "flex": "1" }
}, [
vue.createElementVNode("view", { style: { "flex": "5" } }),
vue.createElementVNode("view", { style: { "flex": "35" } }, "物料规格:"),
vue.createElementVNode(
"view",
{ style: { "flex": "90" } },
vue.toDisplayString($data.matSpec),
1
/* TEXT */
)
]),
vue.createElementVNode("view", {
class: "diy-flex-inforow",
style: { "flex": "1" }
}, [
vue.createElementVNode("view", { style: { "flex": "5" } }),
vue.createElementVNode("view", { style: { "flex": "35" } }, "物料数量:"),
vue.createElementVNode("view", {
class: "uni-input-wrapper",
style: { "flex": "50" }
}, [
vue.withDirectives(vue.createElementVNode(
"input",
{
class: "uni-input",
style: { "font-size": "40rpx" },
placeholder: "请输入物料数量",
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.matQty = $event)
},
null,
512
/* NEED_PATCH */
), [
[vue.vModelText, $data.matQty]
])
]),
vue.createElementVNode("view", { style: { "flex": "40" } }, [
vue.createElementVNode("button", {
onClick: _cache[2] || (_cache[2] = (...args) => $options.bind && $options.bind(...args)),
class: "mini-btn",
style: { "margin-left": "10rpx" },
type: "warn",
size: "mini"
}, "绑定")
])
])
])
]);
}
const PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__file", "E:/代码/赛特制冷WCS/wcs/PDA/PDA/pages/index/index.vue"]]);
const PagesBindBind = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__file", "E:/代码/赛特制冷WCS/wcs/PDA/PDA/pages/bind/bind.vue"]]);
__definePage("pages/index/index", PagesIndexIndex);
__definePage("pages/config/config", PagesConfigConfig);
__definePage("pages/main/main", PagesMainMain);
__definePage("pages/bind/bind", PagesBindBind);
const _sfc_main = {
onLaunch: function() {
formatAppLog("log", "at App.vue:4", "App Launch");

View File

@ -1,6 +1,31 @@
.uni-input {
height: 30px;
line-height: 30px;
padding: 0px;
background-color: #FFFFFF;
}
.uni-input-wrapper {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
background-color: #FFFFFF;
}
.diy-flex-row {
display: flex;
flex-direction: row;
margin-top: 0.46875rem;
margin-bottom: 0.46875rem;
font-size: 1.5625rem;
}
.diy-flex-column {
display: flex;
flex-direction: column;
}
.bg-image {
background-image: url('../../static/背景.png');
background-image: url('../../static/background.png');
/* 背景图片路径 */
background-size: cover;
/* 背景图片覆盖整个元素 */
@ -21,16 +46,16 @@
justify-content: center;
height: 6.25rem;
width: 6.25rem;
margin-top: 0.78125rem;
margin-top: 0.9375rem;
margin-left: auto;
margin-right: auto;
margin-bottom: 0.78125rem;
margin-bottom: 0.9375rem;
}
.text-area {
display: flex;
justify-content: center;
}
.title {
font-size: 1.5625rem;
font-size: 1.71875rem;
color: #000000;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 850 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB