This commit is contained in:
2023-01-11 11:00:43 +08:00
commit ff55141a1e
791 changed files with 177427 additions and 0 deletions

21
public/vendor/js/setStock.js vendored Normal file
View File

@@ -0,0 +1,21 @@
$('.join_identity_id').change(function (e) {
const val = $(this).val();
var commonThis = $(this);
if (val !== null) {
$.ajax({
type: "get",
data: {
'q': val,
},
url: "/admin/platform/identity_stock",
async: true,
success: (result => {
if (result.status_code == 200) {
$('.stock').val(result.value);
} else {
alert('获取库存失败');
}
})
});
}
});